[Vorbis] Oggenc/oggdec on Mac OS X

Ralph Giles giles at xiph.org
Tue Nov 15 09:12:59 PST 2005


On Tue, Nov 15, 2005 at 06:01:12PM +0100, Mikael Hillborg wrote:

> Has anyone succeeded to build oggenc and oggdec on 
> Mac OS X with static linking?

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.

Bug reports on this have been wontfixed.

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.

HTH,
 -r


More information about the Vorbis mailing list