From owner-freebsd-questions Mon Jun 10 9:28:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 3E29237B40D for ; Mon, 10 Jun 2002 09:28:51 -0700 (PDT) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 17HS2D-0003lr-00 for ; Mon, 10 Jun 2002 17:28:49 +0100 Date: Mon, 10 Jun 2002 17:28:49 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: Can't launch xterm -- libXpm.so.4 not found Message-ID: <20020610162849.GB14178@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <20020610160235.GC89971@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020610160235.GC89971@ns2.wananchi.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 10, 2002 at 07:02:35PM +0300, Odhiambo Washington wrote: > I am having a small (though serious) problem. I just can't launch > xterm from within my window manager. When I try it I get this > error: > > > alligator# xterm > /usr/libexec/ld-elf.so.1: Shared object "libXpm.so.4" not found > > > But the file being complained about is right here ;-) > > > alligator# locate libXpm.so.4 > /usr/X11R6/lib/libXpm.so.4 > /usr/compat/linux/usr/X11R6/lib/libXpm.so.4 > /usr/compat/linux/usr/X11R6/lib/libXpm.so.4.11 > /usr/compat/linux/usr/i486-linux-libc5/lib/libXpm.so.4 > /usr/compat/linux/usr/i486-linux-libc5/lib/libXpm.so.4.9 > alligator# > > > > What can I do to solve this problem? Try this: ldconfig -elf -r | grep libXpm You _should_ see something like this: 107:-lXpm.4 => /usr/X11R6/lib/libXpm.so.4 If you don't, try this: ldconfig -elf -m to rebuild the ld hints file. Of course, the lib file needs to be some- where that ldconfig can find it (you can set this in /etc/ld-elf.so.conf). HTH, Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message