LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   6.12. Re-adjusting the Toolchain (http://www.linuxquestions.org/questions/linux-from-scratch-13/6-12-re-adjusting-the-toolchain-278140/)

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/ld-linux.so.2@ /lib/ld-linux.so.2@g' \
> `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: libbfd-2.15.so: cannot open shared object file: No such file or directory
collect2: ld returned 127 exit status
root:/sources/binutils-2.15/build#


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.


jobesd.


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