Install GaussView 3.09 in Linux (EasyPeasy 1.0)

3 comments
EasyPeasy 1.0 is a linux distribution based on Ubuntu 8.10 which is optimized for netbook (i.e. Asus EeePC, Acer aspire one, etc.). This netbook makes me able to deal with some tasks on coding, text-processing, and analyzing calculation results.

When I install the GV3.09-linux, some problems must be solved. That includes: environmental variables, and shared library files. I may not use the most appropriate or the cleverest way, but the steps work.

The following are all under the BASH shell (/bin/bash)
  • Environmental Variaes:
    1. Modify "GV_DIR" in init_gv.bash.sh to the directory gv really in.
    2. Execute the shell script,
      • $sh init_gv.bash.sh
    3. check those environmental variable by (make sure those variable indeed be set):
      • $echo $GV_DIR
      • $echo $LD_LIBRARY_PATH
The above dosen't work. I cannot use the shell script to export correct environmental variables. ( i.e., $GV_DIR and $LD_LIBRARY_PATH)

    • Directly append those shell script in init_gv.bash.sh to ~/.bashrc
After correctly setting $GV_DIR, $LD_LIBRARY_PATH, Alias 'gv', and Alias 'gview'. GaussView still cannot execute correctly. The reason is the absence of several shared library files.
  1. libstdc++-libc6.2-2.so.3
    • download compat-libstdc++-7.3-2.96.110.i386.rpm (click link to the download page)
    • uncompress 'libstdc++-3-libc6.2-2-2.10.0.so' and move to /usr/lib
    • $sudo ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.2-2.so.3
  2. libXft.so.1 (Not compatible with libXft.so.2)
    • download XFree86-libs-4.3.0-35.EL.i386.rpm (click link to the download page)
    • uncompress 'libXft.so.1' and move to /usr/lib (actually a link file)
    • uncompress 'libXft.so.1.1' and move to /usr/lib
    • if 'libXft.so.1' doesn't work, make soft link
      $sudo ln -s libXft.so.1.1 libXft.so.1
  3. libexpat.so.0 (just make soft link to libexpat.so.*.*.* in /usr/lib)
    • $sudo ln -s libexpat.so.1.5.2 libexpat.so.0
[References]

Any comment is welcome. If you have better way to handle this or this recipe cannot solve your problem, plz let me know.