Installing CFM on OpenSuSE/Ubuntu
When installing CFMX on OpenSuSE/Ubuntu the installer will exit complaining about missing lib files, something along the lines of:
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
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
The problem is caused by a directive within the installer file, which triggers somekind of bug that OpenSuSE has in relation with java (or so i assume). The instruction that causes the problem is:
export LD_ASSUME_KERNEL
The following commands uncomment all occurences of export LD_ASSUME_KERNEL within the installer, allowing CFMX to be installed
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
The problem is caused by a directive within the installer file, which triggers somekind of bug that OpenSuSE has in relation with java (or so i assume). The instruction that causes the problem is:
export LD_ASSUME_KERNEL
The following commands uncomment all occurences of export LD_ASSUME_KERNEL within the installer, allowing CFMX to be installed
cp coldfusion.bin coldfusion.bin.bak
cat coldfusion.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion.bin
The above commands first make a bakup of the original installer and then uncomments all occurences of the offending command in the original installer.cat coldfusion.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion.bin
CFMX can then be installed.
Comments
[Add Comment]
# Posted By Tracy Logan
| 4/11/07 11:20 AM
[Add Comment]
