Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 17:28:49 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can't launch xterm -- libXpm.so.4 not found
Message-ID:  <20020610162849.GB14178@icarus.slightlystrange.org>
In-Reply-To: <20020610160235.GC89971@ns2.wananchi.com>
References:  <20020610160235.GC89971@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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