Hello [email protected]
In Chapter 6.7 of the LFS book I got an error while
"make headers_check"
It says "/usr/bin/perl: No such file or directory".
But the file is there (in chroot environment):
root:/# ls -la /tools/bin/perl
results in:
-rwxr-xr-x 1 root root 1166572 Jul 28 22:53 /tools/bin/perl
root:/# ls -la /usr/bin/perl
results in:
lrwxrwxrwx 1 root root 15 Jul 28 23:55 /usr/bin/perl -> /tools/bin/perl
root:/# /usr/bin/perl -v
results in:
bash: /usr/bin/perl: No such file or directory
root:/# /tools/bin/perl -v
results in:
bash: /tools/bin/perl: No such file or directory
root:/# ldd /tools/bin/perl
results in:
/tools/bin/ldd: line 126: /tools/bin/perl: No such file or directory
root:/# readelf -h -l /tools/bin/perl
results in:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x805f5a0
Start of program headers: 52 (bytes into file)
Start of section headers: 1165492 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 27
Section header string table index: 26
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4
INTERP 0x000134 0x08048134 0x08048134 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.2]
LOAD 0x000000 0x08048000 0x08048000 0x11a9e8 0x11a9e8 R E 0x1000
LOAD 0x11a9e8 0x081639e8 0x081639e8 0x01d68 0x02568 RW 0x1000
DYNAMIC 0x11a9fc 0x081639fc 0x081639fc 0x000f0 0x000f0 RW 0x4
NOTE 0x000148 0x08048148 0x08048148 0x00020 0x00020 R 0x4
GNU_EH_FRAME 0x11a96c 0x0816296c 0x0816296c 0x0001c 0x0001c R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version
.gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata
.eh_frame_hdr .eh_frame
03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag
06 .eh_frame_hdr
07
If I run "/tools/bin/perl -v" in the Host environment (not chrooted) I get
the normal verbose Information about the perl interpreter. No error Message.
I'm using a LFS LiveCD updated to use with LFS 7.1 Book:
lfslivecd-x86-6.3-r2160-updated.iso (32 Bit)
I try to build my LFS 7.1 on Virtualbox 4.1.12_ubuntu r77245
I gave google a try.
Similar Problems are all because of the 64 bit platform which I don't use.
I use 32 bit.
Whats wrong?
greets,
Daniel
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page