progress with downloaded executeables in LFS problem = bad bash?

Florin Boariu florin at bnv-bamberg.de
Mon Jul 9 04:34:27 PDT 2001


> root:~# ldd squake
> ldd: can't execute squake (No such file or directory)
> root:~#
> 
> ran LDL under chroot /mnt/old and got this
> 
>         libm.so.5 => not found
>         libvga.so.1 => not found
>         libc.so.5 => not found
          ^^^^^^^^^^

Couldn't this be the cause? I'm quite sure you don't have a libc-5 on
your lfs system, do you?

The "cannot execute squake" -- message after ldd might be a hint for
missing libc, since all other missing libraries are reported with a
"<lib> => not found" -- message.

See my other mail too ;)

florin.

> 
> I make the proper links under lfs proper, made svgalib
> 
> root:~# ./squake
> bash: ./squake: No such file or directory
> root:~#
> 
> didn't bother making the libs in /mnt/old, but the program does atleast complian about lacking files instead of bash not finding it.
> 
> 
> *********** REPLY SEPARATOR  ***********
> 
> On 7/8/2001 at 8:23 PM Bruce Dubbs wrote:
> 
> >I may be alittle late getting in here, but what does ldd squake give you?  It
> >sounds like you are missing a required shared object (.so library file) in
> >your lfs system.
> >
> >  -- Bruce
> >
> >Corey McGuire wrote:
> >>
> >> Interesting progress combating this phenomena
> >>
> >> when a chroot to my "host" linux distro, i CAN run squake under LFS... do i have a bad compile of BASH?
> >>
> >> how can i test this further?
> >>
> >> *********** REPLY SEPARATOR  ***********
> >>
> >> On 7/8/2001 at 10:53 AM Corey McGuire wrote:
> >>
> >> >Ok, I have mentioned this before, but until now, I didn't have to opportunity to recreate this phenomena.
> >> >
> >> >When I download a binary, "squake" for example, chmod 755, then try to execute "./squake" I get the error "sh: ./squake: No such file or directory"
> >> >
> >> >This happens only with executables downloaded in binary form, when I compile the executable, it works fine.
> >> >
> >> >I have tried FTP, HTTP and good old floppy with the same results.
> >> >
> >> >I have another Linux box, I try it, it works fine.
> >> >
> >> >This is not just squake, this is all downloaded binaries and even downloaded scripts.  (i can dump scripts via Telnet, or i wouldn't have gotten this far)
> >> >
> >> >As a sanity check, AND THIS IS THE KICKER, I extracted it in my old host OS (suse 6.3) chmod 755, ran it, it spit out an error saying i didn't have the pak files (which means it worked) THEN rebooted into LFS and it STILL didn't work.
> >> >
> >> >What am I doing wrong?
> >--
> >Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> >and put unsubscribe in the subject header of the message
> 
> 
> 
> 
> /\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\
> 
> coreyfro at coreyfro.com
> http://www.coreyfro.com/
> http://stats.distributed.net/rc5-64/psummary.php3?id=196879
> ICQ : 3168059
> 
> -----BEGIN GEEK CODE BLOCK-----
> GCS d--(+) s: a-- C++++$ UBL++>++++ P+ L+ E W+++$ N+ o? K? w++++$>+++++$ O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+) Dl++(++++) D++ G+ e>+++ h++(---) r++>+$ y++*>$ H++++ n---(----) p? !au w+ v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$
> ------END GEEK CODE BLOCK------
> 
> Home of Geek Code - http://www.geekcode.com/
> The Geek Code Decoder Page - http://www.ebb.org/ungeek//
> 
> --
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
> 

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list