Maple

From Gentoo Linux Wiki

Jump to: navigation, search

Author: Gert Pellin (mailto:pellingert@gmail.com). Feel free to contact me with any info/questions.


Contents

[edit] Maple 10

[edit] Introduction

Maple is a market-leading tool for solving mathematic problems, and it has a linux version. But the problem I encountered when I tried to install it on my Gentoo-box: The installer wouldn't start, instead I got this:

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/opt/blackdown-jdk-1.4.2.01/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open 
shared object file: No such file or directory

After some Googling I fount the solution, and could install maple. After the installing-quest everything works perfect in the program.

[edit] Installation

To install Maple you have to make some changes in the .bin file. You can do this by issuing the following commands:

#  cp maple.linux.v10.installer.bin maple.linux.v10.installer.bin.bak
#  cat maple.linux.v10.installer.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > maple.linux.v10.installer.bin
#  ./maple.linux.v10.installer.bin

And now you should see a windows-like installer on your screen, so just follow the instructions.

(It could be that you have to have Java 1.4 installed to let the installer work, but I'm not sure because I have both Java 1.4 and 1.5 installed.)

On amd64 machines there has been a problem starting the maple GUI due to directory names not being set right.

Go to your maple installation directory: $MAPLE and symlink the following directories

# ln -s bin.IBM_INTEL_LINUX bin.X86_64_LINUX
# ln -s jre.IBM_INTEL_LINUX jre.X86_64_LINUX


To start maple:
press alt+F2 and write:
/home/[Your user name]/maple10/bin/xmaple

[edit] Maple 11

Need only

# ln -s bin.IBM_INTEL_LINUX bin.X86_64_LINUX
# ln -s jre.IBM_INTEL_LINUX jre.X86_64_LINUX

in your maple11 dir.

Personal tools