glibc linking error
Ides Buescher
i.s.g.buscher@tnw.tudelft.nl
Wed Jul 24 10:32:00 GMT 2002
cheers folk,
I found a glibc linker problem and know the cause.
Can somebody please tell me how to fix it:
while linking some program I get the error:
/usr/X11R6/lib/libXp.so: undefined reference to `getpwuid_r@GLIBC_2.1.2'
This is done on a Redhat 7.1 Linux alpha
looking in the glibc library
libc.so.6.1 --> glibc_2.2.3.so
# nm libc.so.6.1 | grep getpwuid
we see:
00000000000d5720 t __getpwuid_r
000000000013b5f0 t __nscd_getpwuid_r
00000000000d5950 t __old_getpwuid_r
00000000000d4f50 T getpwuid
00000000000d5720 T getpwuid_r@@GLIBC_2.1.2
00000000000d5950 T getpwuid_r@GLIBC_2.0
YES, that's right: double '@@'
How can I fix this ?
I figured myself out to hack the binary file glibc_2.2.3.so, but since
the library is used for even the simplest UNIX commands, I better keep
off :-)
--
Ides Buescher
Ph D student
FCM TU DELFT
+31 (0)15 278.22.60
--
Ides Buescher
Ph D student
FCM TU DELFT
+31 (0)15 278.22.60
--
Ides Buescher
Ph D student
FCM TU DELFT
+31 (0)15 278.22.60
More information about the Libc-alpha
mailing list