I used to have Maple 10.02 running on Fedora Core 4. I recently upgraded to Fedora Core 5, and 10.02 no longer runs (no error is given). I can't install Maple 10 off the CD or the downloaded 10.03.
This is related to another recent thread. When I try to install I get the same errors about shared libraries being missing, although I actually have them in /lib. There was some advice about commenting out lines from the installer script with "export LD_ASSUME_KERNEL" -- this only produced a new error (at an even earlier point in the install process than the shared library errors):
gzip: /tmp/install.dir.31369/Linux/resource/vm.tar.Z: not in gzip format
./Maple1003LinuxUpgrade.bin: line 569: uncompress: command not found
gzip: /tmp/install.dir.31369/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
Fedora Core 5 uses glibc2.4.
Any ideas on how I can get my Maple running again?
Will Kennerly
SELinux
I have heard that turning off the SELinux has allowed some users to install on some of the Linux Distributions.
Scott
Maplesoft Technical Support
SELinux disabled and still won't install
Thanks for the tip -- I disabled SELinux by editing /etc/selinux/config and setting SELINUX=DISABLED and then rebooting. SELinux isn't running now, but I get the same errors when trying to install 10.03. For the record, here are the shared library errors:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: 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
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.3206/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
core 5
Hi, I have managed to install maple by commenting out the LD_ASSUME_KERNEL line from the installer script.
Running the maple executable (with LD_ASSUME_KERNEL=2.4.1) causes it to exit with a complaint about libdl.so.2
"error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory"
I've tried setting LD_LIBRARY_PATH.
Any help would be extremely welcome.
Editing the installer
The gzip errors you quote seem to indicate that you damaged the installer by editing it. This can happen easily; it is essential that you change neither the total length of the file nor the starting position of the binary part.
Please see the bottom part of this page.
(Adjust the filename if you have the single user version.)
We know from some users that this helped for installing on Fedora Core 4.
Furthermore, try to run the character mode version:
./installMapleLinuxSU -i consoleand ignore all messages on shared libraries for the moment.
If that command finishes (the progress bar might stop for several minutes after one third or so) finally, you might have to fix permissions:
cd (to the target directory)chmod -R a+x bin/ bin.IBM_INTEL_LINUX/ jre.IBM_INTEL_LINUX/bin/No warranties, however. ;-)
Success!
Thanks -- its working! The Clemson web page you referenced was very helpful.
The trick is to edit the installer script with binary mode vim
(using the -b flag: vim -b Maple1003LinuxUpgrade.bin
Then scroll down to the first instance of "export LD_ASSUME_KERNEL" (line 2251) and replace the 'e' in 'export' with '#'. This comments out the line and evidently leaves the installer size intact so those compression errors are bypassed.
The console mode suggestion didn't help at all, though.