lfs-6.3 - chapter 6: binutils-2.17 - make error regarding libbfd-2.17.so :not found
Hello. First I must excuse posting this question again.
But: I downloaded the live cd of lfs-6.3 and I use this to build my lfs as my host-system.
All steps ran correct until this step:
I want to install the binutils-2.17 now finally, I configure it and want to run
But it says: libbfd-2.17.so not found.
A similar thing happened before, with the libiberty/pic.
I copied that whole directory to my /usr/lib directory, what seemed to help as a workaround.
But the next error occuring was this one ( libbfd-2.17.so ) now is not found.
I searched for it, and guess,YES it resides in /usr/lib.
But it is not found ( my links and my chroot and so on MUST be correct, glibc installed without problems, testing without problems and compiling the dummy.c with grepping all necessary information , too).
The file IS there, the issue while compiling binutils the first time, not occured, but why now? ( the only thing changed is the prefix).
I retried to adjust the toolchain, and again everything is ok.
Before I will use the workaround and copy it, too, to the /usr/lib, I would like to know, WHAT CAUSES THIS ERROR, AND WHY.
Could anynone help me regarding this problem?
THX in advance.
no one would answer.
I already found some solutions in this forum, but not the technical background, why this is happening, though i am using exact the live-cd 6.3.
Hmmm linking against static libraries..... ok.
Could anyone give me details about that ( and why the book says \--enable-shared) ????
no one likes me
libbfd-2.17.so is created ( "so" means shared object.)
Your errors : I don't know ... libbfd-2.17.so
should be present in your "build-binutils"
P.S.: 1) No reason to use the backslash, it can all
be made up to a "one line configure".
2) If the backslash is used, a <space> must be present
after the backslash, like this : '\ --enable-shared' .
3) The backslash is used only to break a line.
my experience told me, that a space between backslash and the -- often fails to recognize the new arguments, especially, if a new switch is activated, whose arguments have to be present without space.
And even with your hint i stuck at:
with the messages:
error while loading shared library: libbfd-2.17.so : file or directory not found
libiberty.a Error 127.
I think, im will have to start from chapter 1 again ( that cannot be....
but first i will try a newer and an older version of binutils.
THX for all.
I must correct my error message:
ar: error while loading shared library: libbfd-2.17.so : file or directory not found
I forgot the ar.
Perhaps it is important.
issuing "ldconfig" is enough. Afterwards all runs great.
|All times are GMT -5. The time now is 04:42 AM.|