Linux emulation: trouble with shared libraries

Francois Tigeot ftigeot at wolfpond.org
Sun Aug 30 02:10:11 PDT 2009


I have recently upgraded a machine to v2.3.2.717.gc93cf-DEVELOPMENT.

It is now impossible to run misc/openoffice3-bin.

This machine ran previously a development snapshot from just before the devfs
changeover and had no trouble with it.

Error messages :

  $ soffice
  sh: /dev/null: Permission denied
  javaldx: Could not find a Java Runtime Environment! 
  /usr/pkg/openoffice.org3/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory

A complete reinstallation of the Linux Suse and OpenOffice packages did not
change the problem.

The Linux ldconfig doesn't find its libraries anymore:

  # /usr/pkg/emul/linux/bin/bash
  bash-3.00# ldconfig -v
  ldconfig: Can't stat /usr/X11R6/lib/Xaw95: No such file or directory
  ldconfig: Can't stat /usr/X11R6/lib/Xaw3d: No such file or directory
  ldconfig: Can't stat /usr/i486-linux/lib: No such file or directory
  ldconfig: Can't stat /usr/i486-linux-libc5/lib: No such file or directory
  ldconfig: Can't stat /usr/i486-linux-libc6/lib: No such file or directory
  ldconfig: Can't stat /usr/i486-linuxaout/lib: No such file or directory
  ldconfig: Can't stat /usr/i386-suse-linux/lib: No such file or directory
  ldconfig: Can't stat /usr/openwin/lib: No such file or directory
  ldconfig: Can't stat /opt/kde/lib: No such file or directory
  ldconfig: Can't stat /opt/kde2/lib: No such file or directory
  ldconfig: Can't stat /opt/kde3/lib: No such file or directory
  ldconfig: Can't stat /opt/gnome/lib: No such file or directory
  ldconfig: Can't stat /opt/gnome2/lib: No such file or directory
  /usr/X11R6/lib:
  /usr/local/lib:
  /lib:
  /usr/lib:

It seems it is now impossible to list files from the Linux environment:

  bash-3.00# cd /usr/X11R6/lib
  bash-3.00# ls -la
  total 0K

But find(1) still finds them !

  bash-3.00# find . | grep Xext
  ./libXext.so.6
  ./libXext.so.6.4

-- 
Francois Tigeot





More information about the Bugs mailing list