resend Re: Install oddity?]

Linas Vepstas linas@backlot.linas.org
Tue, 17 Apr 2001 17:35:30 -0500


--/aVve/J9H4Wl5yVO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


resending ... everything I emailed with elm last week was never
delivered ...

----- Forwarded message from Linas Vepstas <linas@linas.org>, linas@linas.o=
rg -----

Subject: Re: Install oddity?
In-Reply-To: <005401c0c243$f2147c00$a0e7b23f@secure.scroom.com>
	"from Andrew Wallace at Apr 10, 2001 09:57:42 pm"
To: Andrew Wallace <andyw@scroom.com>
Date: Wed, 11 Apr 2001 11:44:06 -0500 (CDT)
From: Linas Vepstas <linas@linas.org>
CC: bds02@uow.edu.au, gnucash-user@gnucash.org
From: linas@linas.org
X-Mailer: ELM [version 2.4ME+ PL87 (25)]

> > > Anyway, now that I have it, my lpd no longer works. When I
> > > try to print something, I get:
> > >
> > >     [andyw@discipline andyw]$ lpr speakeasy.txt
> > >     lpr: error while loading shared libraries: lpr: undefined symbol:=
 stat

try 'ldd /usr/bin/lpr'

mine says

	libc.so.6 =3D> /lib/libc.so.6 (0x40017000)
	/lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x40000000)


my guess is that you have multiple libcs installed, and thatlpr is
somehow picking up an old one.

As root, run 'ldconfig' to rebuilt the list of shared libs.

does that fix it?

look around /lib see if there are extra lib'c's.

then try 'ldconfig -p' and look over the list.  Any unusual libc's
there?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

never mind. You are probably running an old lpr.  Try 'which lpr'
and the 'ls -la' the result.  Is it old?  is it where you exect lpr to
be?

try rpm -q -f /wghere/your/lpr

I bet it will say that no package owns it.  The 'correct' lpr is=20
should be in /usr/bin

(The roblem is that my libc doesn't have 'stat' in it either. That means
that stat is now defined as an inline function, possibly calling __stat
or something like that, which libc does export.   My guess is that the
lpr you are invoking is compiled against a (very old) libc.
Sill, it *should* have been binary compatible.... but ...


--linas
----- End forwarded message -----

--=20
Linas Vepstas   -- linas@linas.org -- http://linas.org/

--/aVve/J9H4Wl5yVO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE63MUwZKmaggEEWTMRAiIeAJwLDBA2Zx1QNLvxXa/rF9IggqICOQCdHl0G
cYKasCgzMYAVsXNBH0MPc2A=
=leRK
-----END PGP SIGNATURE-----

--/aVve/J9H4Wl5yVO--