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 previous message
Hector Alvarez Pol is currently offline  Hector Alvarez Pol
Messages: 21
Registered: July 2015
Location: Univ. Santiago de Compost...
occasional visitor
From: *

after successfully compiling FAIRSOFT ( ) 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

I would appreciate any hint Smile

Best regards,
Read Message
Read Message
Read Message
Previous Topic: Problem in installing FairRoot version v-15.11
Next Topic: TVector3 and boost::serialization
Goto Forum:

Current Time: Wed Oct 05 22:48:21 CEST 2022

Total time taken to generate the page: 0.00963 seconds