Opened 12 years ago

Closed 11 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:


There is a note saying: "The JDK binary installation script for 64-bit systems has the dynamic linker path hard-coded at /lib64/ <...> 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/,/lib/\0\0,g;' $(grep -lr .)

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 Changed 11 years ago by Jim Gifford

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.