[vorbis-dev] dynamicly loading libvorbisenc on Mac OSX
Arne Scheffler
a.scheffler at steinberg.de
Thu Aug 22 02:32:15 PDT 2002
On Thursday, Aug 22, 2002, at 11:00 Europe/Berlin, Arne Scheffler wrote:
>
> So, it seems to me that something is wrong with the way how
> libvorbisenc is being linked. I will try to build a ProjectBuilder
> Sample App, which demonstrates this.
>
Ok,
I don't need a sample app, as vorbis-tools don't work. I just
downloaded the source and try to build it and this is the output.
/bin/sh ../libtool --mode=link gcc -fno-common -O4 -Wall -fsigned-char
-ffast-math -o oggenc oggenc.o audio.o encode.o platform.o
resample.o ../share/libutf8.a ../share/libgetopt.a
-lvorbisenc -lvorbis -lm -logg ../intl/libintl.a
mkdir .libs
gcc -fno-common -O4 -Wall -fsigned-char -ffast-math -o oggenc oggenc.o
audio.o encode.o platform.o resample.o ../share/libutf8.a
../share/libgetopt.a -L/usr/local/lib -lvorbisenc -lvorbis -lm -logg
../intl/libintl.a
ld: /usr/local/lib/libvorbisenc.dylib is input for the dynamic link
editor, is not relocatable by the static link editor again
make[2]: *** [oggenc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
And, I have tried this now on 10.1.5 and there it works, so this is a
problem with the new gcc3.1. Is this working on other
platforms with gcc3.1 ?
> arne
>
> --- >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.
>
>
arne
--- >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