Menu

#20 Mac OS X - dyld: Library not loaded: ../lib/libTMVA.dylib

open
nobody
None
5
2010-09-21
2010-09-21
Philip Hunt
No

Apologies if someone already posted this, but I didn't see anything in the archive.

When trying to link against a private version of TMVA (i.e. not the native ROOT version) on Mac OS X Leopard, I get the following error when executing my script:

dyld: Library not loaded: ../lib/libTMVA.dylib
Referenced from: /Users/huntp/cpp/TMVAnalysis/./TMVAnalysis
Reason: image not found

It seems that the problem is in the Makefile. If I replace all occurances of "../lib" in the Makefile with "$(PWD)/../lib" and recompile, the problem disappears.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB