Opened 11 years ago
Last modified 10 years ago
#258 closed Bug
failed build — at Initial Version
Reported by: | Sergei Chekanov | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | compilation with ProMC | Cc: |
Description
Hello,
I'm trying to compile Delphes 3.13 on ScientificLinux 6.3 (64 bit) using the ProMC plugin. My environment is set correctly:
export PROMC=/share/sl6promc
export LD_LIBRARY_PATH=$PROMC/lib:$LD_LIBRARY_PATH
export PATH=$PROMC/bin:$PATH
Then I compile Delphes, (configure; make), it compiles correctly, but it cannot link the object zipios file:
Compiling external/ProMC/ProMCHeader.pb.cc
Compiling external/ProMC/ProMCBook.cc
Compiling external/ProMC/ProMCStat.pb.cc
Compiling external/ProMC/ProMCDescription.pb.cc
Compiling external/ProMC/ProMC.pb.cc
Building libDelphes.so
/usr/bin/ld: /share/sl6promc/lib/libcbook.a(fcollexceptions.o): relocation R_X86_64_32S against `vtable for zipios::IOException' can not be used when making a shared object; recompile with -fPIC
/share/sl6promc/lib/libcbook.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: * [libDelphes.so] Error 1
I think Delphes 3.10 was fine before when used on SL5.
Can you please look at this?
best