开发者

Error with mono profiler in Mac OS X

I tried to run mono profiler as is explained here, but I got this error message.

ver6>开发者_StackOverflow; 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.

SOLVED

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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜