Help needed

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

phani at 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)
    SHARED=`file $i 2>/dev/null | grep shared`
    if [ ! -z "$SHARED" ]
        echo "ERROR: file $i is not linked statically"

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

Tushar Teredesai

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

More information about the lfs-support mailing list