[Vorbis] Oggenc/oggdec on Mac OS X

Mikael Hillborg mikael at mhc.se
Tue Nov 15 09:26:56 PST 2005


> Apple doesn't support static linking on MacOS X. It used to work,
> but around v10.2 they forgot to ship a static version of one of
> the system libs, which breaks the normal -static linker flags.

OK.

> If you want to use them from the gui you can wrap them in bundles,
> otherwise you're going to have to either install separate .dylibs
> or...I've never tried it, but you ought to be able to statically
> link in the ogg and vorbis libs while building a normal dynamically
> linked executable with respect to everything else. Probably just
> requires a custom link line with all the library .o's stuck in in liu 
> of the normal -l directives.

But will it work if the libraries are put in a bundle together with 
the tools? The tools seem to look in /usr/local/lib and nowhere else...
How do I make them look in the resource folder of the bundle instead
of /usr/local/lib/?

/Mike



More information about the Vorbis mailing list