[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] ft2demos with X11 on OS X (XQuartz) (Re: Freetype-devel D

From: Hin-Tak Leung
Subject: Re: [ft-devel] ft2demos with X11 on OS X (XQuartz) (Re: Freetype-devel Digest, Vol 134, Issue 22)
Date: Sat, 26 Mar 2016 19:55:41 +0000 (UTC)

Oh, it is possible to modify binary, after build, to embed specific library 
locations using
install_name_tool . see

On Sat, 26/3/16, Hin-Tak Leung <address@hidden> wrote:

 The library dependence is likely
 dynamic... you could examine which copy of the library
 it is trying to load by:
 otool -L <your_binary>
 To some extent, you can override it with:
 export DYLD_LIBRARY_PATH=/opt/X11/lib
 before you run the binary, but this is generally frown upon,
 as other things may break.
 To force embedding a specific library location into the
 binary at build time, use the 
 compiler/linker -rpath option - see this, for example:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]