Subject: Re: xemacs, libjpeg and (finally) ldconfig
To: None <current-users@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: current-users
Date: 03/07/1999 11:01:28
On Sun Mar 7 09:09:24 1999, Oleg Polyanski wrote:
>
> hello,
>
> about week ago i have set up linux emulation and after restarting
> the piece of me, i.e. xemacs, i've discovered the problem:
>
> dazzle p2 /home/luke 1001% xemacs
> /usr/libexec/ld.so: xemacs: libjpeg.so.62.0: Inappropriate file type or format
>
> small investigation helped to figure out that there is a problem in
> dynamic loader (to be exactly - in hash function). here is the /etc/ld.so.conf:
>
> dazzle p2 /home/luke 1004% </etc/ld.so.conf
> /usr/pkg/lib
> /usr/X11R6/lib
> /usr/local/lib
> /usr/lib/ifmail
> /emul/linux/lib
> /emul/linux/usr/lib
> /emul/linux/usr/local/lib
You should not put the /emul/linux* entries into /etc/ld.so.conf. Only put
them into /emul/linux/etc/ld.so.conf.
Mmmm, compat_linux mentiones /emul/linux/etc/ld.so.config, but I only see
ld.so.conf in the linux ldconfig programm.
Bernd