Opened 16 years ago

Closed 16 years ago

#203 closed enhancement (wontfix)

jdk precompiled binaries and /lib64

Reported by: usk Owned by: clfs-commits@…
Priority: minor Milestone:
Component: BOOK Version: CBLFS
Keywords: Cc:

Description

There is a note saying: "The JDK binary installation script for 64-bit systems has the dynamic linker path hard-coded at /lib64/ld-linux-x86-64.so.2 <...> Changing this path manually or with a sed in the *.bin corrupts the *.bin and the install will fail. <...>".

I'm using a simple perl script to fix this after JDK installation:

cd $JAVA_HOME && 
perl -i -pe 's,/lib64/ld-linux-x86-64.so.2,/lib/ld-linux-x86-64.so.2\0\0,g;' $(grep -lr ld-linux-x86-64.so.2 .)

It's working for me. You just need to keep string length unchanged adding \0's.

Can anyone test it?

Change History (1)

comment:1 by Jim Gifford, 16 years ago

Resolution: wontfix
Status: newclosed

CBLFS is a community driven project. The community updates it not the CLFS developers. Don't add anything without testing it to make sure it works.

Note: See TracTickets for help on using tickets.