CentOS 4.6 comes with two versions of the nptl RPM.
Code:
$ ls -l /media/cdrom/CentOS/RPMS/nptl*
-r--r--r-- 2 root root 905821 Nov 18 2007 /media/cdrom/CentOS/RPMS/nptl-devel-2.3.4-2.39.i386.rpm
-r--r--r-- 2 root root 947773 Nov 18 2007 /media/cdrom/CentOS/RPMS/nptl-devel-2.3.4-2.39.i686.rpm
When I installed the i386 version of the RPM, I received the error.
Code:
making all in slice2cpp
make[3]: Entering directory `/home/stwhit/Ice-3.3.0/cpp/src/slice2cpp'
c++ -c -I. -I../../include -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Gen.cpp
c++ -c -I. -I../../include -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Main.cpp
rm -f ../../bin/slice2cpp
c++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../lib -o ../../bin/slice2cpp Gen.o Main.o -lSlice -lIceUtil -L/usr/lib/nptl -lpthread -lrt
/usr/bin/ld: cannot find /lib/tls/i486/libpthread.so.0
collect2: ld returned 1 exit status
make[3]: *** [../../bin/slice2cpp] Error 1
make[3]: Leaving directory `/home/stwhit/Ice-3.3.0/cpp/src/slice2cpp'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/stwhit/Ice-3.3.0/cpp/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/stwhit/Ice-3.3.0/cpp'
make: *** [all] Error 1
Next, I uninstalled the i386 version of the nptl RPM and installed the i686 version, and now the compile is working.
So, I'm curious - is this expected? Which version of the RPM do you have installed?
Thanks again!