Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 2003 13:26:37 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Gene Harris (e-mail)" <geneh@tetronsoftware.com>
Cc:        freebsd-gnome@FreeBSD.ORG
Subject:   Re: gnumeric2 ld-elf.so problem
Message-ID:  <1041704796.19998.11.camel@shumai.marcuscom.com>
In-Reply-To: <1041704384.19998.6.camel@shumai.marcuscom.com>
References:  <200301041131.41774.geneh@tetronsoftware.com> <1041704384.19998.6.camel@shumai.marcuscom.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
It also just occurred to me that since you have so many old files lying
around, make sure you don't have an old /usr/local/bin/gnumeric that is
masking /usr/X11R6/bin/gnumeric.

Joe

On Sat, 2003-01-04 at 13:19, Joe Marcus Clarke wrote:
> On Sat, 2003-01-04 at 12:31, Gene Harris (e-mail) wrote:
> > Somehow, I've munged my ld-elf.so search path.  I installed gnumeric2.  When I 
> > attempt to start gnumeric I get the following:
> > /usr/libexec/ld-elf.so.1: Shared object "libgnomeprint.so.1" not found
> 
> This library is ancient.  The fact that you see this error means that
> somewhere something that gnumeric2 depends on is linked against it.  If
> you run ldd `which gnumeric`, you should see the entry saying
> libgnomeprint.so.1 is not found.  Then, do the following:
> 
> find /usr/local/lib -name "*.so" | xargs ldd > /tmp/local.out
> find /usr/X11R6/lib -name "*.so" | xargs ldd > /tmp/x11.out
> 
> Look through each of these files for "not found".  You will then see the
> library which references the bad shared objects.  Some instances will be
> okay (e.g. Mozilla libraries).  However, for those that look like
> problems, use pkg_info -W to determine which port installed the shared
> object, then reinstall that port.
> 
> > 
> > Thinking I had a bad link somewhere, I went looking, but I've come up short.  
> > I tried to delete and rebuild my hint files, but that didn't solve the 
> > problem.
> 
> Thus isn't necessary.  This problem is most likely not an issue with a
> corrupt hints file.  libgnomeprint.so.1 is quite old.  The current rev
> of libgnomeprint is 16.  However, in the future, to rebuild hints
> quickly, use:
> 
> ldconfig /usr/lib /usr/local/lib /usr/X11R6/lib /usr/lib/compat
> /usr/local/lib/compat/pkg
> 
> Joe
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+Fydcb2iPiv4Uz4cRAg6yAKClxAKaBQGzAbCZlv7u3keuxadN9gCggSQ0
DoGidpd3G1Qp3vN6YAmzTTU=
=LopZ
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1041704796.19998.11.camel>