Quote:
Originally Posted by zeshanuk
Hi veerain,
The file seems to be in /tools/lib, see below the output of the find command I issued.
Thanks for looking at this problem too...
|
The ld-linux-x86-64.so.2 file is part of glibc and installed with it. During install you should have passed --libdir=/tools/lib64 to be more specific but book doesn't says so. Instead it depends on build scripts of glibc to decide it. And in your case it gets installed to /tools/lib but the gcc pass1 has the path of dynamic linker set in /tools/lib64.
So I say before installing binutils pass1 you should go the /tools directory and run 'mkdir lib64; ln -s lib64 lib'.
Or If you want to run anyway from this point onward, then copy all the files, directories in /tools/lib to /tools/lib64. Careful to not overwrite files in /tools/lib64 especially symlinks overwriting regular files. And then delete /tools/lib and put a symlink from /tools/lib to /tools/lib64.
Code:
rm -fr /tools/lib
cd /tools
ln -s lib64 lib