[vorbis-dev] dynamicly loading libvorbisenc on Mac OSX
Arne Scheffler
a.scheffler at steinberg.de
Thu Aug 22 02:00:43 PDT 2002
On Thursday, Aug 22, 2002, at 01:12 Europe/Berlin, Timothy J. Wood
wrote:
>
> On Wednesday, August 21, 2002, at 11:02 AM, Arne Scheffler wrote:
>> Link Error : /usr/local/lib/libvorbisenc.2.0.0.dylib.o is input for
>> the dynamic link editor, is not relocatable by the static link editor
>> again
>
> This means the compiler things you are passing an object file (due
> to the .o extension), but the file is really a MH_DYLIB file (i.e., a
> shared library). Remove the .o from the name of the file and you
> should hopefully be good.
>
But I have only added libogg.dylib, libvorbis.dylib,
libvorbisfile.dylib, libvorbisenc.dylib to my project. And in
/usr/local/lib/
are only the following files, which were installed by the normal
configure;make;make install stuff.
(/usr/local/lib)# l
total 7320
drwxr-xr-x 22 root wheel 748 Aug 21 19:16 ./
drwxr-xr-x 5 root wheel 170 Aug 15 15:05 ../
-rwxr-xr-x 1 root wheel 41260 Aug 21 19:16 libogg.0.4.0.dylib*
lrwxr-xr-x 1 root wheel 18 Aug 21 19:16 libogg.0.dylib@ ->
libogg.0.4.0.dylib
-rw-r--r-- 1 root wheel 34944 Aug 21 19:16 libogg.a
lrwxr-xr-x 1 root wheel 18 Aug 21 19:16 libogg.dylib@ ->
libogg.0.4.0.dylib
-rwxr-xr-x 1 root wheel 712 Aug 21 19:16 libogg.la*
-rwxr-xr-x 1 root wheel 477444 Aug 21 19:16 libvorbis.0.2.0.dylib*
lrwxr-xr-x 1 root wheel 21 Aug 21 19:16 libvorbis.0.dylib@ ->
libvorbis.0.2.0.dylib
-rw-r--r-- 1 root wheel 534400 Aug 21 19:16 libvorbis.a
lrwxr-xr-x 1 root wheel 21 Aug 21 19:16 libvorbis.dylib@ ->
libvorbis.0.2.0.dylib
-rwxr-xr-x 1 root wheel 762 Aug 21 19:16 libvorbis.la*
-rwxr-xr-x 1 root wheel 1237828 Aug 21 19:16
libvorbisenc.2.0.0.dylib*
lrwxr-xr-x 1 root wheel 24 Aug 21 19:16 libvorbisenc.2.dylib@
-> libvorbisenc.2.0.0.dylib
-rw-r--r-- 1 root wheel 1237360 Aug 21 19:16 libvorbisenc.a
lrwxr-xr-x 1 root wheel 24 Aug 21 19:16 libvorbisenc.dylib@ ->
libvorbisenc.2.0.0.dylib
-rwxr-xr-x 1 root wheel 783 Aug 21 19:16 libvorbisenc.la*
-rwxr-xr-x 1 root wheel 61176 Aug 21 19:16
libvorbisfile.3.0.0.dylib*
lrwxr-xr-x 1 root wheel 25 Aug 21 19:16 libvorbisfile.3.dylib@
-> libvorbisfile.3.0.0.dylib
-rw-r--r-- 1 root wheel 55624 Aug 21 19:16 libvorbisfile.a
lrwxr-xr-x 1 root wheel 25 Aug 21 19:16 libvorbisfile.dylib@
-> libvorbisfile.3.0.0.dylib
-rwxr-xr-x 1 root wheel 790 Aug 21 19:16 libvorbisfile.la*
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.
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