[Clfs-dev] eglibc version number for X86_64
Hugo Villeneuve
hugo at hugovil.com
Sat Mar 12 23:18:21 PST 2011
Hi,
In "Cross-Compiled Linux From Scratch - Version GIT-20110213-x86_64-Pure64", chapter 10, there seems to be a small version mismatch when creating a temporary link. There is only a file named "ld-2.12.2.so" in my /lib directory, no "ld-2.12.so".
So this line:
ln -sv ld-2.12.so /lib/ld-linux.so.2
should read:
ln -sv ld-2.12.2.so /lib/ld-linux.so.2
I suggest you automate this by reading the version.h file in the source tree of eglibc:
EGLIBC_VER=$(cat version.h | grep "VERSION" | sed "s!.*VERSION\ \"\(.*\)\"!\1!")
This way you will always create the correct link name.
Hugo V.
--
Hugo Villeneuve <hugo at hugovil.com>
More information about the Clfs-dev
mailing list