Subject: Re: gimp broken on 2.0
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: David Laight <email@example.com>
Date: 10/16/2004 17:14:01
On Sat, Oct 16, 2004 at 05:47:11PM +0200, Jaromir Dolecek wrote:
> Hubert Feyrer wrote:
> > When trying to start gimp (2.0) on a newly installed 2.0_RC4 system, it
> > complains that there's an old libfontconfig installed (1.x, while
> > expecting 2.x) and aborts.
> > The problem is obviously that it first picks the old one in /usr/X11R6/lib
> > instead of the new one in /usr/pkg/lib, setting LD_LIBRARY_PATH fixes it,
> > but that's no real solution.
> > Anyone got an idea on how to fix it?
> On my system, ldd `which gimp` says:
> -lfontconfig.1 => /usr/pkg/lib/libfontconfig.so.1
> So, apparently, it has a rpath compiled in into the binary. And it
> works fine. The binary is compiled via make update after latest
> libtool-related pkgsrc turmoil.
You need to look at the program header (eg objdump -p gimp) to find out
the actualy library names (which could have full paths) and any RPATH
entries used to modify the search algorithm.
Do the same for any requested libraries and you should be able to
determine why ldd gives its specified output.
David Laight: firstname.lastname@example.org