Subject: 1.5beta linux emul problem
To: NetBSD Users <netbsd-users@netbsd.org>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: netbsd-users
Date: 12/03/2000 21:15:18
Hello,

I'm trying to get Applixware going on my 1.5beta2 system.  For some reason,
Applix can't find the linux shared libraries.  I have installed the libs
from pkgsrc and they are in /usr/pkg/emul/linux/usr/X11R6/lib, I have run
/emul/linux/sbin/ldconfig and "strings /emul/linux/etc/ld.so.cache" lists
the libraries.  However, if I ktrace Applix, it doesn't even try loading
the libs from /usr/pkg/emul/linux/usr/X11R6/lib:

  5211 applix   NAMI  "/emul/linux/etc/ld.so.preload"
  5211 applix   NAMI  "/etc/ld.so.preload"
  5211 applix   RET   stat -1 errno -2 No such file or directory
  5211 applix   CALL  open(0xbfbfce70,0,0x4805d2ac)
  5211 applix   NAMI  "/emul/linux/usr/lib/libX11.so.6"
  5211 applix   NAMI  "/usr/lib/libX11.so.6"
  5211 applix   RET   open -1 errno -2 No such file or directory
  5211 applix   CALL  open(0xbfbfce70,0,0x4805d2ac)
  5211 applix   NAMI  "/emul/linux/lib/libX11.so.6"
  5211 applix   NAMI  "/lib/libX11.so.6"
  5211 applix   RET   open -1 errno -2 No such file or directory
  5211 applix   CALL  write(0x2,0xbfbfce70,0x46)
  5211 applix   GIO   fd 2 wrote 70 bytes
       "/usr/local/applix/opt/applix/applix: can't load library 'libX11.so.6'
       "
  5211 applix   RET   write 70/0x46

This used to work under 1.4.2 and despite of comparing the two systems,
I can't find an explanation to the problem... I guess someone knows
better?

Thanks,

  -jm