View Single Post
  #4 (permalink)  
Old 08-06-2008
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,925
Hi,

Sorry, I didn't notice that you had nptl-devel installed. You have installed the nptl-devel package from your CentOS 4.6 distribution, right?

I'm afraid I don't understand this error and why the linker is looking for /lib/tls/i486/libpthread.so.0. On my CentOS 4.6 installation, libpthread.so.0 is located in /lib/tls:

Code:
[benoit@xps cpp]$ ldd lib/libSlice.so
        ...
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00111000)
        ...
[benoit@xps cpp]$ ldd bin/slice2cpp
        ...
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00111000)
        ...
It sounds like an issue with your OS or compiler installation. You could try compiling and linking a sample program with -lpthread (with and without -L/usr/lib/nptl) and see if it works.

Cheers,
Benoit.
Reply With Quote