[lfs-support] Step 5.7 -- ld: cannot find crt1.o

Chris J. Breisch chris at breisch.org
Thu Jan 3 07:13:58 PST 2013


On 1/3/2013 9:50 AM, Baho Utot wrote:
>
> crt1.o is part of the glibc package, you should review the installation
> of that package.
> Make sure the environment is correct and that you are the lfs user.
>
> Do a set at the bash prompt and have a look at the bash environment, ie
> PATH LC_ALL LFS LFS_TGT
> Check LFS_TGT and compare it to what chapter 4.4.
>
> set | grep PATH
> set | grep LFS_TGT
> set | grep SHELLOPTS should not have hashall in that line
>
> I got that package wrong before also,  before I scripted my builds.
> In my experience this is generally related to the bash environment or
> the host system requirements.
> Try running the version-check.sh from the beginning of the book.
>
>
Thanks. Everything checks out from an environment and version 
standpoint. I am running gcc-4.7.2 which is listed as untested, I can 
probably drop back to an earlier version if I have to do so.

I think at this point I'm just going to start over. Haven't really done 
that much yet, and since I've clearly missed something obscure 
somewhere, it's probably easier to wipe the slate clean than to try to 
figure out what it is.

Thanks again.

-- 

Chris J. Breisch<http://www.sports-gazer.com>



More information about the lfs-support mailing list