No shared libpthread or libdl on x86_64?

John Ellson ellson at research.att.com
Wed Sep 14 20:48:00 UTC 2005


Rex Dieter wrote:

> Per
> http://bugzilla.redhat.com/bugzilla/166344
> it appears that there is no shared libpthread or libdl on x86_64.  The 
> lack of these shared libraries is causing applications linking against 
> libgc to fail with undefined symbols.
>
> Can anyone confirm this (I don't have access to any x86_64 box)?  Is 
> this on purpose or a (glibc) bug?
>
> -- Rex
>
Seems OK on my x86_64 box, so long as you have glibc-devel installed:

$ ls -l  /usr/lib64/libdl* /usr/lib64/libpthread*
-rw-r--r--  1 root root  11882 Sep 12 12:58 /usr/lib64/libdl.a
lrwxrwxrwx  1 root root     22 Sep 13 10:48 /usr/lib64/libdl.so -> 
../../lib64/libdl.so.2
-rw-r--r--  1 root root 289334 Sep 12 12:58 /usr/lib64/libpthread.a
-rw-r--r--  1 root root    222 Sep 12 12:40 /usr/lib64/libpthread.so
-rw-r--r--  1 root root   1596 Sep 12 12:58 
/usr/lib64/libpthread_nonshared.a

$ rpm -qf /lib64/libdl.so.2
glibc-2.3.90-12
$ rpm -qf /usr/lib64/libdl.so
glibc-devel-2.3.90-12
$ rpm -qf /usr/lib64/libpthread.so
glibc-devel-2.3.90-12

Jonh




More information about the fedora-devel-list mailing list