1
我有一个应用程序,我知道使用libstdC++,但即使作为超级用户,我无法在Mac OS X 10.6 Snow Leopard系统上看到/usr/lib/libstdc++.6.0.9.dylib?为什么lsof不显示libstdC++在Mac OS X上加载?
lsof | grep的的libstdC++
如果我使用DYLD_LIBRARY_PATH用我自己的libstdC++拷贝它的完整路径显示了我的应用程序运行时:
fooo 1701 foooo txt REG 14,5 2439888 54431 /path/to/shared/libstdc++.6.0.9.dylib
这是徒劳的谷歌搜索后。在Linux系统上,任何用户都可以在/ usr/lib中查看哪些应用程序正在使用该库。
这可能应该属于http://superuser.com/ – 2010-11-09 19:14:21