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:
- Modify "GV_DIR" in init_gv.bash.sh to the directory gv really in.
- Execute the shell script,
- $sh init_gv.bash.sh
- check those environmental variable by (make sure those variable indeed be set):
- $echo $GV_DIR
- $echo $LD_LIBRARY_PATH
- Directly append those shell script in init_gv.bash.sh to ~/.bashrc
- 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
- 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 - libexpat.so.0 (just make soft link to libexpat.so.*.*.* in /usr/lib)
- $sudo ln -s libexpat.so.1.5.2 libexpat.so.0
Any comment is welcome. If you have better way to handle this or this recipe cannot solve your problem, plz let me know.
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?
josh
May 12, 2011 at 2:24 PMHi 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
Anonymous
June 17, 2011 at 6:07 AMHi, 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)
Anonymous
October 21, 2011 at 8:56 PM