[Clfs-dev] eglibc version number for X86_64

Joe Ciccone jciccone at gmail.com
Sat Apr 16 17:55:14 PDT 2011


On Sun, 2011-03-13 at 03:18 -0400, Hugo Villeneuve wrote: 
> 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.
> 

It is already based on an entity in the xml. It's been updated with the
updated version of EGLIBC. Will try to keep an eye on this in the
future.

Thanks

-- 
Joe Ciccone




More information about the Clfs-dev mailing list