[vorbis-dev] vorbis module compilation problem

Segher Boessenkool segher at chello.nl
Thu Dec 20 23:06:40 PST 2001



Jeffrey Bridge wrote:
> 
> [I just got on to this mailing list to report this problem. If it has
> already been reported, then I'm sorry for duplicating the report. And I
> seriously doubt this is not the right topic to talk about on this
> mailing list, but if it is, sorry for that too.]
> 
> Okay, here's a new one. I have never seen this error before. This is the
> latest CVS code I'm trying to compile, on a pretty close to standard
> Slackware 8.0 box (gcc 2.95.3, glibc 2.2.3) with latest CVS libogg
> compiled and installed successfully.
> 
> $ ./autogen.sh
> $ ./configure --with-gnu-ld --enable-static=no
                              ^^^^^^^^^^^^^^^^^^

> $ make
> ........
> Making all in examples
> make[1]: Entering directory `/usr/src/cvs/vorbis/examples'
> /bin/sh ../libtool --mode=link gcc  -O20 -ffast-math -mno-ieee-fp
> -D_REENTRANT -fsigned-char  -DUSE_MEMORY_H -all-static -o
                                             ^^^^^^^^^^^

> decoder_example  decoder_example.o ../lib/libvorbis.la -lm  -logg
> gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char
> -DUSE_MEMORY_H -static -o decoder_example decoder_example.o
> ../lib/.libs/libvorbis.so -lm /usr/local/lib/libogg.so -Wl,--rpath
> -Wl,/usr/src/cvs/vorbis/lib/.libs -Wl,--rpath -Wl,/usr/local/lib
> -Wl,--rpath -Wl,/usr/local/lib
> /usr/i386-slackware-linux/bin/ld: /lib/ld-linux.so.2: indirect symbol
> `__libc_internal_tsd_set' to `__libc_internal_tsd_set@@GLIBC_2.0' is a
> loop
> /lib/ld-linux.so.2: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [decoder_example] Error 1
> make[1]: Leaving directory `/usr/src/cvs/vorbis/examples'
> make: *** [all-recursive] Error 1
> 
> Any ideas?

Yup.  If you build the examples, you need static libs.  Not sure why,
unless doing a profiling build.

Yes, the error message is not very informative.  Yes, glibc is a mess.

So, just configure without --enable-static=no, for now, at least.

Hope this helps,

Segher

--- >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