Install GaussView 3.09 in Linux (EasyPeasy 1.0)

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.

3 comments :: Install GaussView 3.09 in Linux (EasyPeasy 1.0)

  1. Thanks for the tips. I was able to solve a couple of link errors using your advice, but I finally came to one I cannot figure out:

    /share/apps/gv/gview: symbol lookup error: /share/apps/gv/gview: undefined symbol: cerr

    This is what I get when I try to run gaussview... I am using a Rocks cluster, which I believe has CentOS.

    Any ideas? Would it be helpful if I gave you some more info?

  2. Hi Josh, I've opensuse 11.2 with the same problem, and googling the problem, I found that the library compat must be installed. It works for me.

    quimica.udea@gmail.com

  3. Hi, I'm trying to install Gaussview 3-09 on UBUNTU"natty". I installed all the libraries, and I changed the file bashrc as follows.

    # Environmental variables for Gaussview
    export GV_DIR = 'home/marcel/Gaussview/Gv-3.09'
    # Leave alone this Section:
    GV_DIR alias gv = $ '/ gview'
    alias = $ gview GV_DIR '/ gview'
    #
    if ["$ LD_LIBRARY_PATH"]
    then
    export LD_LIBRARY_PATH = $ GV_DIR '/ lib:' $ LD_LIBRARY_PATH
    else
    export LD_LIBRARY_PATH = $ GV_DIR / lib
    fi

    but when I run the command ./gview I get the following error message:
    "failed to locate GaussView main directory"

    What can I do?

    thx

    Marcel (moondog_2010@libero.it)

Post a Comment