Subject: Re: 1.5X/i386 Linux emulation, X11, and locales
To: None <current-users@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: current-users
Date: 09/17/2001 14:19:04
On Tue, 18 Sep 2001, Toru TAKAMIZU wrote:
> 1. what is the content of /emul/linux/etc/ld.so.conf ?
/lib-aout
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/X386/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib
/usr/i486-linux-libc6/lib
/usr/i486-linuxaout/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/gnome/lib
(I haven't touched the file myself, so unless something else did, it's
just what pkgsrc put there.)
Linux's ldd on the netscape binary produces the following output:
# /emul/linux/usr/bin/ldd /usr/pkg/lib/netscape/navigator-4.78/netscape
libBrokenLocale.so.1 => /lib/libBrokenLocale.so.1 (0x486a6000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x486a8000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x486f4000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x486fe000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x48716000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x48729000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x48738000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x48744000)
libdl.so.2 => /lib/libdl.so.2 (0x487ee000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x487f2000)
libm.so.6 => /lib/libm.so.6 (0x4883a000)
libc.so.6 => /lib/libc.so.6 (0x48857000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x48690000)
...which, to me, looks okay.
> 2. How about updating /emul/linux/etc/ld.so.cache by linux version of
> ldconfig (/emul/linux/sbin/ldconfig) ?
# cd /emul/linux/etc
# mv ld.so.cache ld.so.cache.bak
# /emul/linux/sbin/ldconfig
# cmp ld.so.cache.bak ld.so.cache && echo no change
no change
Thanks,
- Amitai