GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Problem compiling master FAIRRoot (Problem compiling master FAIRRoot - ld: file not found: @rpath/libboost_chrono.dylib for architecture x86_64)
Problem compiling master FAIRRoot [message #19213] Wed, 13 April 2016 13:56 Go to next message
Hector Alvarez Pol is currently offline  Hector Alvarez Pol
Messages: 21
Registered: July 2015
Location: Univ. Santiago de Compost...
occasional visitor
From: *usc.es
Hi,

after successfully compiling FAIRSOFT ( https://forum.gsi.de/index.php?t=msg&th=4876&start=0& ) I have the following problem during make
of FAIRRoot (master, OSX 10.11.4 (15E65) with XCode 7.3 (7D175))

[ 30%] Linking CXX shared library ../../lib/libfairmq_logger.dylib
ld: file not found: @rpath/libboost_chrono.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libfairmq_logger.15.11.0.dylib] Error 1
make[1]: *** [fairmq/logger/CMakeFiles/fairmq_logger.dir/all] Error 2
make: *** [all] Error 2

I have used:
cmake -DUSE_DIFFERENT_COMPILER=TRUE -DCMAKE_INSTALL_PREFIX=/Users/hapol/CODES/FairRoot/install_master ../FairRoot

with a quite normal output, including:
-- Found the following Boost libraries:
-- thread
-- system
-- timer
-- program_options
-- random
-- filesystem
-- chrono
-- exception
-- regex
-- date_time
-- atomic

So, I do not understand the error... (actually I can find the library):
fpvieira:FAIRSOFT hapol$ find . -name libboost_chrono.dylib
./FairSoft/basics/boost_1_59_0/tmp/boost/bin.v2/libs/chrono/build/clang- darwin-4.2.1/release/threading-multi/libboost_chrono.dylib
./install_master_root6/lib/libboost_chrono.dylib

I would appreciate any hint Smile

Best regards,
Re: Problem compiling master FAIRRoot [message #19214 is a reply to message #19213] Thu, 14 April 2016 09:53 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
Hi Héctor,

For your system you need to use dev branch of FairRoot - this will work.

In the next step, by R3BRoot compilation, fetch the latest dev branch also - there was a fix commit today.

Best regards,
Dima
Re: Problem compiling master FAIRRoot [message #19215 is a reply to message #19214] Thu, 14 April 2016 10:23 Go to previous message
Hector Alvarez Pol is currently offline  Hector Alvarez Pol
Messages: 21
Registered: July 2015
Location: Univ. Santiago de Compost...
occasional visitor
From: *usc.es
Hi,

it worked correctly in dev.
Thank you very much!
Previous Topic: Problem in installing FairRoot version v-15.11
Next Topic: TVector3 and boost::serialization
Goto Forum:
  


Current Time: Thu Mar 28 12:38:13 CET 2024

Total time taken to generate the page: 0.01003 seconds