Hi Hanspeter,

thanks for your quick response. I do have a DYLD_LIBRARY_PATH set, pointing to 
/opt/intel Compiler stuff. Unsetting it does not help with imagemagick.

Here are the answers to your questions:

fink list -t freetype219
Information about 11348 packages read in 3 seconds.
        freetype219     2.6-1   TrueType font rendering library, headers
        freetype219-32bit       2.4.4-4 TrueType font rendering library, headers
        freetype219-32bit-shlibs        2.4.4-4 TrueType font rendering 
library, shared libs
(i)     freetype219-shlibs      2.6-1   TrueType font rendering library, shared 
libs

dpkg -S /sw/lib/freetype219/lib/libfreetype.6.dylib 
freetype219-shlibs: /sw/lib/freetype219/lib/libfreetype.6.dylib


otool -L /sw/lib/freetype219/lib/libfreetype.6.dylib | head -n 3
/sw/lib/freetype219/lib/libfreetype.6.dylib:
        /sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 
18.0.0, current version 18.4.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.5)

It looks like the library distributed with the package is an “older” version.

Thanks for your help

Gerfried


Dr. Gerfried Kumbartzki
Department of Physics Rutgers University
Phone: 848 445 8782
mobile: 732 354 9368
fax:     732 445 4343







> On Aug 10, 2015, at 22:07 , Hanspeter Niederstrasser <f...@snaggledworks.com> 
> wrote:
> 
> On 8/10/2015 8:27 PM, Gerfried Kumbartzki wrote:
>> Hi,
>> 
>> after installing imagemagick    6.9.1.10-1  (after a fink selfupdate)
>> 
>> 
>> fink list imagemagick
>> Information about 11348 packages read in 2 seconds.
>>      graphicsmagick-  1:1.3.21-1   ImageMagick compatible wrapper commands
>>  i   imagemagick      6.9.1.10-1   Image manipulation tools (q16)
>>      imagemagick-nox               [virtual package]
>>      imagemagick5-sh  6.7.9.10-9   Image manipulation tools (shared 
>> libraries)
>>  i   imagemagick6.9.  6.9.1.10-1   Infrastructure for ImageMagick (q16)
>>      imagemagick6.q1  6.8.8.10-5   Infrastructure for ImageMagick (q16)
>>      imagemagick6.q1  6.9.1.10-1   ImageMagick documentation
>>      imagemagick7-sh  6.8.2.6-10   Image manipulation tools (shared 
>> libraries)
>> 192:
>> 
>> 
>> trying to run convert gives the following error:
>> convert
>> dyld: Library not loaded: /sw/lib/freetype219/lib/libfreetype.6.dylib
>>   Referenced from: /sw/bin/convert
>>   Reason: Incompatible library version: convert requires version 19.0.0 or 
>> later, but libfreetype.6.dylib provides version 18.0.0
>> Trace/BPT trap: 5
> 
> /sw/bin/convert is finding some random older version of the freetype library.
> 
> Are you setting DYLD_LIBRARY_PATH in your environment?  If so, don't. You're 
> hijacking OS X's ability to to find the libraries that a program was linked 
> against. If you think you need it because some other third party program is 
> badly packaged, consider using DYLD_FALLBACK_LIBRARY_PATH instead.
> 
> If you are not setting DYLD_LIBRARY_PATH, what's the output of the following 
> three commands:
> 
> fink list -t freetype219
> dpkg -S /sw/lib/freetype219/lib/libfreetype.6.dylib
> otool -L /sw/lib/freetype219/lib/libfreetype.6.dylib | head -n 3
> 
> Hanspeter


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to