Project

General

Profile

Actions

Bug #1471

closed

Linux emulation: trouble with shared libraries

Added by ftigeot about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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:

  1. /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

Files

linux_file.c.diff (6.12 KB) linux_file.c.diff ftigeot, 09/02/2009 09:22 AM
Actions

Also available in: Atom PDF