Help needed

Tushar Teredesai tushar at linuxfromscratch.org
Sat Jan 4 21:10:07 PST 2003


phani at aravaconsultancy.com wrote:

>The compiling goes on well in the static directory.Everything goes on fine
>till I chroot into my static directory
>When I chroot Iam not able to get some commands
>like ls, chown,chmod etc..
>some commands like gcc,gawk are working
>
Exit the chroot and do the following:
for i in $(find $LFS/static -type f 2>/dev/null)
do
    SHARED=`file $i 2>/dev/null | grep shared`
    if [ ! -z "$SHARED" ]
    then
        echo "ERROR: file $i is not linked statically"
    fi
done

For every file that is reported as not being statically linked, 
recompile the corresponding package.

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


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



More information about the lfs-support mailing list