After chrooting gcc does not work

Gerard Beekmans gerard at linuxfromscratch.org
Mon Jan 6 12:35:49 PST 2003


On January 6, 2003 01:18 pm, 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.

Not necessarily. If it's not statically linked, it will work outside of chroot 
just fine, but inside chroot it won't work.

> Why is it that it fails after chrooting?

I don't know. You tell me. What is the error you get?


-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
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