Fork me on GitHub

Opened 9 years ago

Closed 9 years ago

#862 closed Bug (fixed)

install delphes bug

Reported by: Li Huang Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,

I tried install Delphes in MadGraph. And I tried it manually with latest version. I met same bug:

Building libDelphes.so
Compiling converters/hepmc2pileup.cpp
Building hepmc2pileup

/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_CTX_new@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_peek@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_CTX_free@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_new@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_get_error@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `HMAC@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_write@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_free@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `EVP_sha1@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_set_fd@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_read@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_connect@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_set_quiet_shutdown@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSLv23_method@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_library_init@OPENSSL_1.0.0'
/home/ui/tools/root/lib/libNet.so: undefined reference to `SSL_shutdown@OPENSSL_1.0.0'
collect2: error: ld returned 1 exit status
make: * [hepmc2pileup] Error 1

can you help me?

I use ubuntu 14.04 LTS and root 5.34 .

Best,
Li

Change History (4)

comment:1 by Li Huang, 9 years ago

Hi,
Maybe I have to mention that when I built root I use :
./configure --enable--cxx11 --enable-python --with-python-incdir=/home/ui/anaconda2/inculde/python2.7 --with-python-libdir=/home/ui/anaconda2/lib

my PyRoot works well. I use a python , not installed by ubuntu itself, but in anaconda .

By the way, I have tried different versions, but failed.

Best,
Li

comment:2 by Pavel Demin, 9 years ago

Hi Li,

Could you try to install ROOT from one of the binary distributions?

https://root.cern.ch/content/release-53434
https://root.cern.ch/content/release-60414

I'm using root_v5.34.34.Linux-ubuntu14-x86_64-gcc4.8.tar.gz with Ubuntu 14.04 without any problem.

Best regards,

Pavel

comment:3 by Li Huang, 9 years ago

Hi,

I am sorry to bother you with this problem. Now I think the reason is that the root link to a wrong lib (to anaconda/lib, although I don't want this) while when I compiled root, it linked to /usr/lib . So some times, different versions of the lib files may lead a bug.

I have now installed Delphes well after remove anaconda and recompile root.

Thanks anyway.

Best,
Li

comment:4 by Pavel Demin, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.