After chrooting gcc does not work

Tushar Teredesai tushar at linuxfromscratch.org
Mon Jan 6 12:38:06 PST 2003


Laurie Turpin wrote:

>After chrooting to my lfs system gcc does not work.
>Prior to chrooting if I execute the following:
>$LFS/static/gcc --version
>it works fine.
>So gcc is installed ok.
>Why is it that it fails after chrooting?
>Other programs in the static directory work like 'tar' and 'bzcat'
>but grep like gcc fails, but again works from the non chrooted system.
>Please help
>
>  
>
 From your host system, try "file $LFS/static/gcc", it should report a 
statically linked executable.

-- 
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