This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libc-2.x thread problems


>>>>> John Hoebing writes:

 > We have some test programs that run fine on earlier
 > versions of linux threads but break on
 > libpthread-0.8.so, on all glibc 2.1.x libraries.
[...]
 > : error in loading shared libraries: /lib/libpthread.so.0: symbol _exit,
 > version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Does the file libc.so.6 come really from glibc 2.1.x?  I doubt it.

gromit:~:[1]$ readelf -a /lib/libc.so.6 |grep _exit
  1574:    956d0    54 FUNC    GLOBAL  0   17 _exit@@GLIBC_2.0

What's the output of ldd on your test program?  Which libraries get
loaded (try LD_DEBUG=files in the environment - see LD_DEBUG=help)

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]