English 中文(简体)
XQuartz动态装载错误
原标题:XQuartz dynamic loading error

我更新了XQuartz,现在装上了装船,抱怨:

Dyld Error Message:
  Library not loaded: /opt/X11/lib/libfreetype.6.dylib
  Referenced from: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
  Reason: Incompatible library version: X11.bin requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0

但是,如果Iotool -L /opt/X11/lib/libfreetype.6.dylib

/opt/X11/lib/libfreetype.6.dylib:
    /opt/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0)
    ...

因此,图书馆是正确的版本!

造成这一错误的原因何在?

最佳回答

与此相似的错误是由用户在其环境中确定DYLD_LIBRaire_PATH造成的。 这可能是在以下两种情况下进行的:/etc/signd.conf、/etc/profile、/etc/bashrc、~/.bashrc、~/.bash_profile或类似的。

DYLD_LIBRARY_PATH included a directory that contained a file named libfreetype.6.dylib which was used instead of the one included with XQuartz.

任何人都建议确定DYLD_LIBRaire_PATH可能错了。 只有在非常具体的情况下,例如在发展环境中,才能使用。 它几乎永远不应用于运输产品,永远不能成为你空壳环境中的一般工作。

问题回答

暂无回答




相关问题
Dyld Symbol not Found Error

Here s my error. dyld: Symbol not found: __ZTIN8eqOsirix3ROIE Referenced from: /Users/slate/Documents/osirixplugins/CoreDataTrial_EQOsirix/build/Development/rcOsirix.app/Contents/MacOS/rcOsirix ...

Makefile can not find boost libraries installed by macports

I just installed boost 1.42.0 from macports using sudo port install boost. Everything worked fine. Now I have a project that I m trying to build using a makefile. Everything builds fine until it ...

dyld: Library not loaded - When app run from the command line

I face some difficulties when adding a framework to my project when i run an iPhone app from the command line. My final goal is to run applications tests from an automated build process. When i run ...