-   Linux From Scratch (
-   -   6.12. Re-adjusting the Toolchain (

jobesd 01-15-2005 01:39 PM

6.12. Re-adjusting the Toolchain
I get this error"

root:/sources/binutils-2.15/build# sed -i 's@ /tools/lib/ /lib/' \
> `gcc --print-file specs`
root:/sources/binutils-2.15/build# echo 'main(){}' > dummy.c
root:/sources/binutils-2.15/build# cc dummy.c
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: error while loading shared libraries: cannot open shared object file: No such file or directory
collect2: ld returned 127 exit status

any solutions??

__J 01-15-2005 06:40 PM

must of linked against libbfd from the host. At this point, I would (keep in mind this is just my opinion) just install libbfd on your LFS.

jobesd 01-16-2005 01:50 PM

Well I went back and tried reinstalling binutils pass 2 as user lfs and
came back to this step and it worked.

no errors.

thanks though for your reply. I did the above before I checked back here.


All times are GMT -5. The time now is 03:01 PM.