>On Mon, 07 Nov 2011 07:26:03 +1100
>Luke Ceddia <[email protected]> wrote:
>
> Hi all,
> I just started building the packages in chapter 6 when I discovered
> and interesting problem. The perl binary exists in the /tools/bin
> directory, I can view it with 'ls' and print it with 'cat'. Outside
> the chroot environment, it runs fine. Inside the chroot environment,
> however, bash refuses to execute it with the messsage
> 'bash: /tools/bin/perl: No such file or directory' but it is clearly
> there. I'm using Version 7 of the book on Debian Squeeze.
> -Luke
> 

Do:
$ readelf -a /tools/bin/perl | grep interpreter

You should get this (on 64bit):
[Requesting program interpreter: /tools/lib/ld-linux-x86-64.so.2]

If you get this, however:
[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]

Then that means you did not properly reconfigure the linker and
compiler. Redo Chapter 5.8.

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
  • Perl Problem Luke Ceddia
    • Re: Perl Problem Aleksandar Kuktin

Reply via email to