Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Filesystem problem, missing files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
linux4ever
n00b
n00b


Joined: 05 Dec 2005
Posts: 32

PostPosted: Thu Jun 14, 2007 3:51 pm    Post subject: Filesystem problem, missing files Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Thu Jun 14, 2007 4:45 pm    Post subject: Reply with quote

What does `ls -ld /usr /usr/lib32` say?
Back to top
View user's profile Send private message
linux4ever
n00b
n00b


Joined: 05 Dec 2005
Posts: 32

PostPosted: Thu Jun 14, 2007 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Thu Jun 14, 2007 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
linux4ever
n00b
n00b


Joined: 05 Dec 2005
Posts: 32

PostPosted: Thu Jun 14, 2007 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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