> On Mar 13, 2016, at 13:53, Robert Wohlhueter <[email protected]> 
> wrote:
> 
> Running OSX 10.10.5, and with Xquartz 2.7.7, 2.7.8, or 2.7.9beta, I get the 
> error message that /usr/X11/lib/libfreetype.6.dylib cannot be loaded because 
> it is v.17, and v. 19 id required. Details of the error messages are pasted 
> below.
> 
> That would seem a straightforward problem, except that `otool -L` in fact 
> reports that that lib is v.19 (also documented below.)  Actually, a search 
> for libfreetype.6.dylib on my computer shows several instances, associated 
> with individual software packages, I have tried all of these which allege to 
> be v.19 -- to no avail.
> 
> The problem persists regardless of my DYLD_LIBRARY_PATH env-setting 
> (including none.)

I suspect that it is set in your .bashrc or .profile, so you unset it at the 
prompt, and then it gets reset in X11 when spawning X11.bin.

I suspect if you did the following, it would work:
   $ unset DYLD_LIBRARY_PATH
   $ ./X11.bin

Don't set DYLD_LIBRARY_PATH!

> Can anyone explain to me the discrepancy between the Xquartz error message 
> and the otool output?  Or, more usefully, can anyone point me to a 
> libfreetype.6.dylib that will work with current versions of Xquartz?

The one that comes with it works great.  Don't set DYLD_LIBRARY_PATH globally 
and expect things to work.

--Jeremy

> 
> Thanks,
> Bob Wohlhueter
> 
> *******************************************************************************************
> [summer-8:Contents/MacOS]44 bobw% ./X11 &
> [1] 56252
> [summer-8:Contents/MacOS]45 bobw% dyld: Library not loaded: 
> /opt/X11/lib/libfreetype.6.dylib
>  Referenced from: /opt/X11/lib/libXfont.1.dylib
>  Reason: Incompatible library version: libXfont.1.dylib requires version 
> 19.0.0 or later, but libfreetype.6.dylib provides version 17.0.0
> 
> 
> [summer-8:Contents/MacOS]45 bobw% otool -L /opt/X11/lib/libfreetype.6.dylib
> /opt/X11/lib/libfreetype.6.dylib:
>    /opt/X11/lib/libfreetype.6.dylib (compatibility version 19.0.0, current 
> version 19.1.0)
>    /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
>    /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 
> 1.0.5)
>    @rpath/libclang_rt.asan_osx_dynamic.dylib (compatibility version 0.0.0, 
> current version 0.0.0)
>    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
> 1213.0.0)
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription: 
> https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to