LFS 6 Chapter 6.8 mount error
Hello!
I am having problems trying to build LFS. In chapter 6.8 there are three mount commands you must enter: Code:
mount -n -t ramfs none /dev Code:
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file:No such file or directory I am using: Linux From Scratch - Version SVN-20050417 Slackware 10.1 Stock Kernel 2.6 (from disc 2 /testing) |
Hello,
once again, post the output of: Code:
ldd /bin/mount Code:
ldd /bin/mount |
Code:
I have no name!:/# ldd /bin/mount |
Try the following:
Code:
# ldd `which mount` |
I wasn't sure if the command was for the LFS bash or the normal console.. here's both.
Code:
root@darkstar:~# ldd `which mount` Code:
I have no name!:/# ldd `which mount` |
as you have to enter your mount command in your chroot environnement, that's in chroot environnement that you have to try this command.
so try (in chroot environnement): Code:
find / -name mount |
Here's the output
Code:
I have no name!:/# find / -name mount |
Well that's:
Code:
ldd /tools/bin/mount |
Here is the commands output...
Code:
root@darkstar:~# ldd /tools/bin/mount Code:
I have no name!:/# ldd /tools/bin/mount ?!... |
here is the problem:
Code:
libblkid.so.1 => not found the only reason why it can do that is e2fsprog provides a "mount" command and that's the one you have installed whereas you should have installed the "mount" command from util-linux package... |
so how do i get the mount command from util-linux working?
|
Well recompile util-linux package, check that mount command is correctly linked (with ldd command) and then if that's OK install it.
|
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# sed -i 's@/usr/include@/tools/include@g' configure Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# ./configure Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C lib Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C mount mount umount Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C text-utils more Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# cp mount/{,u}mount text-utils/more /tools/bin Code:
I have no name!:/sources/util-linux-2.12q/mount# mount Code:
I have no name!:/# ldd /tools/bin/mount Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# ldd /tools/bin/mount |
do:
Code:
cd /mnt/lfs/sources/util-linux-2.12q so if it stil does not work do: Code:
cd /tools/include |
Sorry i havent responded lately my windows xp commited suicide on me a few days ago so i couldn't access the internet until it was fixed. i tried the commands you gave me and still.. same results. i'm thinking i'll just download another distribution besides slackware, start over and pray it works. thanks for the help i really appreciated it! Any recommended distribution to build LFS with might help prevent me posting up all these problems!...
thanks. -mike |
All times are GMT -5. The time now is 02:10 AM. |