Hanspeter, Alexander,
Yeah. Well, running `find` on “ libexpat\*” is a little frightening —
yielded no less than 67 hits (a few links and documentation among
them). It seems a lot of developers have lost sight of the point of
shared libraries! -- probably because they don't want to have to deal
with version incompatibilities.
In any case it was relatively easy to pick out the newest versions, and
get my DYLD_LIBRARY_PATH priorities straight.
Thanks to both of you for the good tips,
Bob Wohlhueter
On 11/9/14, 3:12 PM, Hanspeter Niederstrasser wrote:
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
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
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