Reputation: 190799
I tried to run mono profiler as is explained here, but I got this error message.
ver6> mono --profile=log program.exe
Error loading profiler module 'mono-profiler-log': dlopen(libmono-profiler-log.bundle, 9): image not found
Is this a mono bug?
My OS X version is 10.6.7, and I use mono 2.10.2.
After adding the /Library/Frameworks/Mono.framework/Versions/2.10.2/lib
path to .bashrc export DYLD_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/2.10.2/lib"
, the problem is gone.
Upvotes: 3
Views: 991
Reputation: 3963
You either don't have that file installed or you need to set the DYLD_LIBRARY_PATH env var to point to the directory where it is located. Look for libmono-profiler-log.dylib, the .bundle extension is a fallback.
Upvotes: 2