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
configuring util-linux-2.12q
You have <scsi/scsi.h>
You have <linux/blkpg.h>
You have <linux/kd.h>
You have <locale.h>
You have <langinfo.h>
You have <sys/user.h>
You have <uuid/uuid.h>
You have <rpcsvc/nfs_prot.h>
You have <asm/types.h>
You have <linux/raw.h>
You have <stdint.h>
You have <sys/io.h>
You have inet_aton()
You have fsync()
You have getdomainname()
You have nanosleep()
You have personality()
You have updwtmp()
You have fseeko()
You have lchown()
You have rpmatch()
You have <term.h>
You have ncurses. Using <ncurses/curses.h>.
You have termcap
You need -lcrypt
You have <libintl.h> and gettext()
You have __progname
You have <pty.h> and openpty()
You have wide character support
You have SYS_pivot_root
You have a tm_gmtoff field in struct tm
Your rpcgen seems to work
You have zlib
You have blkid
Doesn't the above say i have libblkid ? I checked my /mnt/lfs/tools/lib and no blkid* or libblkid* exists.. Here the other commands i entered, following the LFS book:
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C lib
make: Entering directory `/mnt/lfs/sources/util-linux-2.12q/lib'
make: Nothing to be done for `all'.
make: Leaving directory `/mnt/lfs/sources/util-linux-2.12q/lib'
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C mount mount umount
make: Entering directory `/mnt/lfs/sources/util-linux-2.12q/mount'
make: `mount' is up to date.
make: `umount' is up to date.
make: Leaving directory `/mnt/lfs/sources/util-linux-2.12q/mount'
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# make -C text-utils more
make: Entering directory `/mnt/lfs/sources/util-linux-2.12q/text-utils'
make: `more' is up to date.
make: Leaving directory `/mnt/lfs/sources/util-linux-2.12q/text-utils'
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# cp mount/{,u}mount text-utils/more /tools/bin
i also tried simply running the mount command within the chroot environment:
Code:
I have no name!:/sources/util-linux-2.12q/mount# mount
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
Here's the ldd command again:
Code:
I have no name!:/# ldd /tools/bin/mount
linux-gate.so.1 => (0xffffe000)
libblkid.so.1 => not found
libuuid.so.1 => not found
libc.so.6 => /tools/lib/libc.so.6 (0x40018000)
/tools/lib/ld-linux.so.2 (0x40000000)
Code:
root@darkstar:/mnt/lfs/sources/util-linux-2.12q# ldd /tools/bin/mount
linux-gate.so.1 => (0xffffe000)
libblkid.so.1 => not found
libuuid.so.1 => not found
libc.so.6 => /tools/lib/libc.so.6 (0x40018000)
/tools/lib/ld-linux.so.2 (0x40000000)
please help me i'm stuck!