My Linux Blog

Friday, November 10, 2006

nawk: error while loading shared libraries

Problem: Trying to install a java program (specifically Eolisa) on my (k)ubuntu box I got a sequence of errors...
#./EolisaInstaller.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
....

Solution (see this link):
i. Rename the installer
# mv EolisaInstaller.bin EolisaInstaller.bin.pak
ii. Replace some lines in the installer creating a new file...
# cat EolisaInstaller.bin.pak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > EolisaInstaller.bin
iii. Make the new file executable
# chmod 755 EolisaInstaller.bin
iv. Run the installer
# ./EolisaInstaller.bin

This installs the program, but the original problem happens again when running it. The second step is to repeat the same process on the installed executable.



0 Comments:

Post a Comment

<< Home