site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) Matt, Steve Clark Cox wrote: 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. 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 _______________________________________________ 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... While the statement from Clark Cox is certainly correct, a person with my background of almost thirty years experience writing compilers and hand optimized assembly code would call it a bigger challenge. You are asking for Wine for Mac OSX, which, AFAIK does not exist. I presume that libibmeci.so is from a PowerPC based Linux system and not an Intel based system? If it is the latter, then you are also asking for hardware emulation and I am rapidly losing interest. :-) On Tue, 9 Nov 2004 13:55:19 -0700, Madentec Matt Budd <mattb@madentec.com> wrote: This email sent to site_archiver@lists.apple.com