Hello,
I have a runtime error when running a code on Mac OS X. I attach the GNUMakefile where I am supposed to link the dynamic libraries in …/minosData/. The output of otool looks weird, and when I execute the code the libraries cannot be found (see below).
Do you have some suggestion?
Thanks in advance,
Anna
acorsi@phnmcd68:~/codes/R3B/R3BRoot_MINOS/macros/r3b/Drift$ otool -L DriftPlane
DriftPlane:
/Users/acorsi/codes/R3B/R3BRoot_MINOS/macros/r3b/minosData/ (compatibility version 0.0.0, current version 0.0.0)
@rpath/libCore.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libCint.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libRIO.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libNet.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libHist.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libGraf.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libGraf3d.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libGpad.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libTree.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libRint.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libPostscript.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libMatrix.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libPhysics.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libMathCore.5.so (compatibility version 5.0.0, current version 5.34.36)
@rpath/libThread.5.so (compatibility version 5.0.0, current version 5.34.36)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
acorsi@phnmcd68:~/codes/R3B/R3BRoot_MINOS/macros/r3b/Drift$ ./DriftPlane
dyld: Library not loaded: /Users/acorsi/codes/R3B/R3BRoot_MINOS/macros/r3b/minosData/
Referenced from: /Users/acorsi/codes/R3B/R3BRoot_MINOS/macros/r3b/Drift/./DriftPlane
Reason: no suitable image found. Did find:
/Users/acorsi/codes/R3B/R3BRoot_MINOS/macros/r3b/minosData/: not a file
/Users/acorsi/codes/R3B/R3BRoot_MINOS/macros/r3b/minosData/: not a file
/usr/local/lib/: not a file
/usr/lib/: not a file
Trace/BPT trap: 5
GNUmakefile.txt (1.2 KB)