I guess I'm missing a few things. In the FAQ, it says that if you want use
libc.so.6, it should be put on the floppy. Well ... I created the CD and
put all the libraries on the CD, which are available after I've mounted the
cd under /cdrom using:
mount /dev/hdc /cdrom
I then set:
LD_LIBRARY_PATH=/cdrom/lib;/cdrom/usr/lib
and also add:
PATH=$PATH:/cdrom/bin:/cdrom/sbin:/cdrom/usr/bin:/cdrom/usr/sbin
The bin and sbin directories above are basically copied from a Red Hat 6.2
box. Still, when I try to run some of the utilities found on the CD (under
/cdrom), I get one of these two:
execvp: No such file or directory
/cdrom/bin/foo: not found
Oscar
At 01:56 PM 1/26/01 -0500, Tom Oehser, you wrote:
>Tomsrtbt is libc5 based.
>
>To compile something for it, you must either:
>
>1) Compile it with libc5.
>
>or
>
>2) Link it with -static.
>
>or
>
>3) Put libc.so.5 and ld-linux.so.2 on tomsrtbt.
>
>-Tom
>
>On Fri, 26 Jan 2001, Oscar Ricardo Silva wrote:
>
> > Date: Fri, 26 Jan 2001 12:38:25 -0600
> > From: Oscar Ricardo Silva <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: [tomsrtbt] Commands not found on custom built floppy
> >
> > I've been attempting to customize the tomsrtbt floppy, adding some
> > additional utilities. For some reason though, when I boot of the floppy
> > and try to execute any of these utilities, I get the message:
> >
> > foo not found
> >
> > This happens no matter how I call the utility: ./foo /usr/bin/foo,
> > etc. The same thing happened when I build a CD using the ElTorito.288.bin
> > image. I created directories, built the iso image, burned the CD and
> > successfully booted off of it. But when I mounted the CD to access the
> > additional directories, I got the "foo not found" as well.
> >
> >
> > Any thoughts/suggestions?
> >
> >
> >
> > Oscar
> >