View previous topic :: View next topic |
Author |
Message |
linux4ever n00b
Joined: 05 Dec 2005 Posts: 32
|
Posted: Thu Jun 14, 2007 3:51 pm Post subject: Filesystem problem, missing files |
|
|
ok, I have some really strange things over here, does anyone has an idea what is happening?
Code: |
erik@erikspc ~ $ mount
/dev/hda7 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda5 on /home/erik type ext3 (rw,noatime)
/dev/hda4 on /home/erik/iso/films2 type ext3 (rw,noexec,nosuid,nodev,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
/dev/hda8 on /mnt/.encfs type ext3 (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
nfsd on /proc/fs/nfsd type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
erik@erikspc ~ $ cd /usr/lib32
erik@erikspc /usr/lib32 $ ls /
bin boot dev emul etc home lib lib32 lib64 lost+found media mnt opt proc root sbin sys tmp usr var
erik@erikspc /usr/lib32 $ ls ../..
lib usr
erik@erikspc /usr/lib32 $ pwd
/usr/lib32
erik@erikspc /usr/lib32 $
|
I found this problem long ago (but at that time I only found some strange behaviour, not what actually happens) because when I do an emerge wine, it can't find dlopen in -ldl.
I tried both fsck.ext3 as fsck.ext2, but they can't find any errors !
It's not a very big problem, just the symlinking of /usr/lib32/libdl.so.2 -> ../../lib32/libdl.so.2 must be changed into -> /lib32/libdl.so.2, but it's probably not like it should. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9545 Location: beyond the rim
|
Posted: Thu Jun 14, 2007 4:45 pm Post subject: |
|
|
What does `ls -ld /usr /usr/lib32` say? |
|
Back to top |
|
|
linux4ever n00b
Joined: 05 Dec 2005 Posts: 32
|
Posted: Thu Jun 14, 2007 4:49 pm Post subject: |
|
|
Code: |
dr-xr-xr-x 19 root bin 4096 Jun 1 13:53 /usr
lrwxrwxrwx 1 root root 26 Mar 8 19:32 /usr/lib32 -> ../emul/linux/x86/usr/lib/
|
I'm I right if I suspect the system is trying to access /lib32 by going to /usr/emul/linux/x86/usr/lib/../../lib32, which doesn't exist? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9545 Location: beyond the rim
|
Posted: Thu Jun 14, 2007 5:02 pm Post subject: |
|
|
linux4ever wrote: | Code: |
dr-xr-xr-x 19 root bin 4096 Jun 1 13:53 /usr
lrwxrwxrwx 1 root root 26 Mar 8 19:32 /usr/lib32 -> ../emul/linux/x86/usr/lib/
|
I'm I right if I suspect the system is trying to access /lib32 by going to /usr/emul/linux/x86/usr/lib/../../lib32, which doesn't exist? |
Not quite, the link resolves to /emul/linux/x86/usr/lib (as it starts in /usr, not in /usr/lib32). |
|
Back to top |
|
|
linux4ever n00b
Joined: 05 Dec 2005 Posts: 32
|
Posted: Thu Jun 14, 2007 5:12 pm Post subject: |
|
|
Yeah, that's what I ment (the "/usr" was just a typo). My point was that the link from
/usr/lib32/libdl.so.2 -> ../../lib32/libdl.so.2
actually resolves to
/emul/linux/x86/usr/lib/../../lib32
in other words to
/emul/linux/x86/lib32
which doesn't exist (at least not on my system for some reason), and should maybe resolve to:
/emul/linux/x86/lib
which *does* exists. Maybe I should just symlink /emul/linux/x86/lib32 -> lib |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|