[gst-devel] gstreamer on Mac OS X

David Schleef ds at schleef.org
Sat Aug 7 13:00:00 CEST 2004

On Sat, Aug 07, 2004 at 09:40:20PM +0200, Andreas Känner wrote:
> I managed to compile gstreamer and some of the plugins under Mac OS X  
> without using fink.
> But I wonder why all the shared libraries (plugins) under  
> /usr/local/lib/gstreamer-8.0/ have the suffix ".so"?
> Standard Mac OS X shared libraries have the suffix ".dylib". I've made a  
> simple plugin with XCode, the standard IDE under Mac OS X. After compiling  
> the code I ended up with example.dylib. I moved it to  
> /usr/local/lib/gstreamer-8.0/example.dylib and typed "gst-register" in the  
> terminal, but the example plugin couldn't be recognised. A simple renaming  
> to example.so was not successfull, so I think ".so" and ".dylib" are  
> different shared library formats.
> Now the big question: Why are all other gst* libraries under  
> /usr/local/lib in the .dylib format and how can I make a shared library  
> with .so format with XCode?

If you run 'file' on the files, they do appear to be different
formats.  This probably has to do with one of the weird options
libtool uses when creating them, like '-bundle'.  Check a compile
log to determine the exact differences in compile flags.


More information about the gstreamer-devel mailing list