On 11/9/2014 12:45 PM, Robert Wohlhueter wrote:
> [running MacOS 10.9.5, and immediately after "fink selfupdate" followed
> by "fink update-all:]
>
> When I attempt to run the "gnuplot" program, I get the following error
> message:
>
> [summer:/usr/bin]46 bobw% gnuplot
> dyld: Library not loaded: /sw/lib/libexpat.1.dylib
>    Referenced from: /sw/lib/fontconfig2/lib/libfontconfig.1.dylib
>    Reason: Incompatible library version: libfontconfig.1.dylib requires
> version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0
>
> I would think that these dependencies would be updated by the "fink
> update-all" command.  Nor can I find any "libexpat" using "fink list
> libexpat".  Anyone have hints how I can update my libexpat.1.dylib?

/sw/lib/libexpat.1.dylib is provided by the package expat1-shlibs.

The error is not that you are missing libexpat.1.dylib, but that 
libfontconfig.1.dylib is looking for one with a library version of 
8.0.0, but is finding one that's only at 7.0.0.  You can verify what 
version of libexpat.1.dylib you have installed from Fink via 'otool -L 
/sw/lib/libexpat.1.dylib'.

$ otool -L /sw/lib/libexpat.1.dylib
/sw/lib/libexpat.1.dylib:
        /sw/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 
8.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1197.1.1)

The most likely cause of your problem is that you have a third party 
libexpat.1.dylib someplace (probably in /usr/local) and you are setting 
DYLD_LIBRARY_PATH and so short-circuiting the library loader lookup 
mechanism.

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