[vorbis-dev] Problem linking libvorbisfile on Mac OS X

Timothy J. Wood tjw at omnigroup.com
Sat Nov 18 03:27:21 PST 2000



  I'm working on getting the Darwin/Mac OS X port of Vorbis up and running again and have run into problems building libvorbisfile.  I have installed the latest libtool (1.3.5) and modified it to handle Darwin/Mac OS X better (to create shared libraries, dylibs, that can be linked against other dylibs instead of creating bundles which cannot be used as input to the linker).

  But, when it tries to link libvorbisfile, it says:

/bin/sh ../libtool --mode=link cc  -fno-common -O4 -ffast-math -fsigned-char  -o libvorbisfile.la -rpath /Local/Public/bungi/Vorbis/lib -version-info 0:0:0 vorbisfile.lo libvorbis.la -lm -L/Local/Public/bungi/Vorbis/lib -logg
libtool: link: error: cannot link shared libraries into libtool libraries

  Now, this is odd, since it JUST DID:

/bin/sh ../libtool --mode=link cc  -fno-common -O4 -ffast-math -fsigned-char  -o libvorbis.la -rpath /Local/Public/bungi/Vorbis/lib -version-info 0:0:0 mdct.lo smallft.lo block.lo envelope.lo window.lo lsp.lo lpc.lo analysis.lo synthesis.lo psy.lo info.lo time0.lo floor0.lo res0.lo mapping0.lo registry.lo codebook.lo sharedbook.lo iir.lo lookup.lo bitbuffer.lo  -lm -L/Local/Public/bungi/Vorbis/lib -logg
rm -fr .libs/libvorbis.la .libs/libvorbis.* .libs/libvorbis.*
cc -dynamiclib -undefined suppress -o .libs/libvorbis.dylib  mdct.lo smallft.lo block.lo envelope.lo window.lo lsp.lo lpc.lo analysis.lo synthesis.lo psy.lo info.lo time0.lo floor0.lo res0.lo mapping0.lo registry.lo codebook.lo sharedbook.lo iir.lo lookup.lo bitbuffer.lo  -lm -L/Local/Public/bungi/Vorbis/lib -logg -framework System  -install_name  /Local/Public/bungi/Vorbis/lib/libvorbis.dylib

  In this case, it is linking libogg.dylib into libvorbis.dylib.  But for some reason when it tries to link libvorbis into libvorbisfile, it yaks.

  Any ideas?

-tim

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list