newbie question

Gerard Beekmans gerard at
Thu Mar 14 09:32:57 PST 2002

On Thu, Mar 14, 2002 at 11:40:53AM -0500, Michael Harrington wrote:
> collect2: cannot find 'ld'

This means it can't find the ld program from the binutils package (which
you installed in chapter 5). Is $PATH set inside chroot? If not, check your
$LFS/root/.bash_profile and fix it (the book has you create a .bash_profile
file with a proper $PATH set).

If so, exit chroot and run this:
	ldd /mnt/lfs/usr/bin/ld

Is it statically linked? If not, reinstall Binutils.

Gerard Beekmans

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