Root_v5.30.06 installation problems with XrdSec Error 2

Hi.
I tried to install root_v5.30.06 on my Scientific Linux machine with the following problems

[fclopez@localhost root_v5.30.06]$ ./configure linux
[fclopez@localhost root_v5.30.06]$ make
....
....
....
Creating executable ../../bin/testclient
g++ -D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC -rdynamic -Wall -Wno-deprecated -D__linux__  -m32 -O2 ../../obj/XrdSectestClient.o -lnsl /usr/lib/libpthread.a -lrt -ldl -lc -L../../lib -lXrdSec -lXrdNet -lXrdOuc -lXrdNetUtil -lXrdSys -o ../../bin/testclient
../../lib/libXrdSec.so: undefined reference to `_dl_init_static_tls'
../../lib/libXrdSec.so: undefined reference to `__libc_setup_tls'
../../lib/libXrdSec.so: undefined reference to `__syscall_error'
../../lib/libXrdSec.so: undefined reference to `_dl_sysinfo_dso'
../../lib/libXrdSec.so: undefined reference to `_dl_stack_flags'
../../lib/libXrdSec.so: undefined reference to `_dl_wait_lookup_done'
collect2: ld returned 1 exit status
make[5]: *** [../../bin/testclient] Error 1
make[4]: *** [Linuxall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdSec] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/users/root_v5.30.06/net/xrootd/src/xrootd'
*** Error condition reported by make (rc = 2):
make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1

with gcc version 4.1.2 20080704 (Red Hat 4.1.2-50), and libXrdSec.so in place. What do I need to do? Thanks for the help…

[url]ROOTSYS and linux distribution installation
[url]Release 5.32.03 on Ubuntu 12.04
[url]Release 5.32.03 on Ubuntu 12.04
[url]Problems installing root with --prefix=$HOME/.local
http://root.cern.ch/drupal/content/installing-root-source

BTW. Before you try to build your new ROOT, don’t forget to remove all references to any ROOT installations (that you have now) from any “.profile”, “.login”, “.bash*”, “.csh*”, “.tcsh*”, etc. files and then re-login (i.e. “logout” and “login” again so that all ROOT related entries in all environment variables are really gone).

I also tried a lower version (5.28)


  unset ROOTSYS


./configure --enable-explicitlink --enable-soversion
[fclopez@localhost root_v5.28.00_rev]$ make -j2
*** Building xrootd ... topdir= /users/root_v5.28.00_rev
bin/rmkdepend -R -fnet/netx/src/TXNetFile.d -Y -w 1000 -- -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -pthread -Inet/xrootd/src/xrootd/src -Iproof/proofd/inc -DUSENEWHDRS -D__cplusplus -- /users/root_v5.28.00_rev/net/netx/src/TXNetFile.cxx
make[1]: Entering directory `/users/root_v5.28.00_rev/net/xrootd/src/xrootd'
Making sys component...
cd src/XrdSys;\
        make all ARCH=i386_linux --no-print-directory
Make XrdSys done.
Making ouc component...
cd src/XrdOuc;\
        make all ARCH=i386_linux --no-print-directory
make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by `../../obj/XrdOucBonjour.o'.  Stop.
make[4]: *** [Linuxall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdOuc] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/users/root_v5.28.00_rev/net/xrootd/src/xrootd'
*** Error condition reported by make (rc = 2):
make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
make: *** Waiting for unfinished jobs....
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -pthread -Inet/xrootd/src/xrootd/src -Iproof/proofd/inc -DUSENEWHDRS -o net/netx/src/TXNetFile.o -c /users/root_v5.28.00_rev/net/netx/src/TXNetFile.cxx
[fclopez@localhost root_v5.28.00_rev]$

./configure --prefix=/users/root_v5.28.00_rev/ --etcdir=/users/root_v5.28.00_rev/etc/root --enable-explicitlink --enable-soversion
make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by `../../obj/XrdOucBonjour.o'.  Stop.
make[4]: *** [Linuxall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdOuc] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/users/root_v5.28.00_rev/net/xrootd/src/xrootd'
*** Error condition reported by make (rc = 2):
make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx


// doing the same after reboot after reboot
./configure --prefix=/users/root_v5.28.00_rev/ --etcdir=/users/root_v5.28.00_rev/etc/root --enable-explicitlink --enable-soversion
make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by `../../obj/XrdOucBonjour.o'.  Stop.
make[4]: *** [Linuxall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdOuc] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/users/root_v5.28.00_rev/net/xrootd/src/xrootd'
*** Error condition reported by make (rc = 2):
make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

Try:
svn co root.cern.ch/svn/root/branches/v5-34-00-patches root