Hi all,
I encounter problems building root 5.26 or 5.30 from source on a CentOS system, both using the system or the root provided libz:
uname -a
Linux a.b.org 2.6.18-lustre21 #1 SMP Thu Jun 9 00:39:39 EDT 2011 x86_64
x86_64 x86_64 GNU/Linux
gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
Copyright (C) 2006 Free Software Foundation, Inc.
yum list zlib
...
Installed Packages
zlib.i386 1.2.3-4.el5 installed zlib.x86_64 1.2.3-4.el5installed
./configure linuxx8664gcc
make
.....
Creating shared library ../../lib/libXrdCryptossl.so
g++ ../../obj/XrdCryptosslAux.o ../../obj/XrdCryptosslCipher.o../../obj/XrdCryptosslgsiAux.o ../../obj/XrdCryptosslgsiX509Chain.o -m64
../../obj/XrdCryptosslFactory.o ../../obj/XrdCryptosslMsgDigest.o
../../obj/XrdCryptosslRSA.o ../../obj/XrdCryptosslX509.o
../../obj/XrdCryptosslX509Crl.o ../../obj/XrdCryptosslX509Req.o
/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz
make[5]: *** [../../lib/libXrdCryptossl.so] Error 1 make[4]: *** [Linuxall] Error 2 make[3]: *** [all] Error 2 make[2]: *** [XrdCrypto] Error 2 make[1]: *** [all] Error 2
2) Or if I try the root supplied libz:
./configure linuxx8664gcc --enable-builtin-zlib
make
.....
Creating shared library ../../lib/libXrdCryptossl.so
g++ ../../obj/XrdCryptosslAux.o ../../obj/XrdCryptosslCipher.o../../obj/XrdCryptosslgsiAux.o ../../obj/XrdCryptosslgsiX509Chain.o -m64
../../obj/XrdCryptosslFactory.o ../../obj/XrdCryptosslMsgDigest.o
../../obj/XrdCryptosslRSA.o ../../obj/XrdCryptosslX509.o
../../obj/XrdCryptosslX509Crl.o ../../obj/XrdCryptosslX509Req.o
/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz
make[5]: *** [../../lib/libXrdCryptossl.so] Error 1 make[4]: *** [Linuxall] Error 2 make[3]: *** [all] Error 2 make[2]: *** [XrdCrypto] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/IZVOR/root/net/xrootd/src/xrootd'*** Error condition reported by make (rc = 2): make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
Any ideas what went wrong?
Thanks, Dimitri Received on Tue Nov 29 2011 - 23:07:49 CET
This archive was generated by hypermail 2.2.0 : Wed Nov 30 2011 - 17:50:01 CET