site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jvXprSfZedKpzCiB5nBxzqW8Hq/1IZnM5FnJUwhA18iHWYNmRsfn2SAYIlj5Y5wSe82WYNllowhcBWMZmJkLd3H0oOAGK1gCX3KYZ2orcv1944PGkoSRV1LguLZMC4aDqOkbziAI/51tK+iHLyEVYIFvXDBrzR/Dq5U5zPFaJdc= If all you have is a linux library (i.e. no source code), then you're out of luck. "Porting" something without the source code is an exercise in futility. On Tue, 9 Nov 2004 13:55:19 -0700, Madentec Matt Budd <mattb@madentec.com> wrote:
Hello all,
I am trying to port a text-to-speech engine (ViaVoice by IBM) from Linux to Mac OS X. I am given an libibmeci.so file, and try to compile/make a small sample program (that I got to correctly link and work on the Linux system) and get the following error:
ld: /opt/IBM/ibmtts/lib/libibmeci.so bad magic number (not a Mach-O file)
I am assuming that this is because the shared-object library (the .so file) is in ELF format where as OS X expects shared object libraries to be in Mach-O format (dylib?).
I am wondering what I can do. I am only given the .so file in Linux format, and don't have the source to recompile it on OS X as a dylib. Is there anything I can do to convert this .so to a .dylib? Or is this something that IBM would have to recompile/support specifically for OS X. Also, I am trying to static linking at compile time, but possibly could look at performing dynamic loading at runtime if that would get this to work.
- Matt
P.S. - I've CCd the speech-dev list, in case anyone out there has had success/failure porting ViaVoice 6.7 onto OS X.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/clarkcox3%40gmail.com
This email sent to clarkcox3@gmail.com
-- Clark S. Cox III clarkcox3@gmail.com http://www.livejournal.com/users/clarkcox3/ http://homepage.mac.com/clarkcox3/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com