From: Axel Kohlmeyer (axel.kohlmeyer_at_theochem.ruhr-uni-bochum.de)
Date: Wed Apr 13 2005 - 04:43:07 CDT

On Tue, 12 Apr 2005 22:37:29 -0400 Huaer XC wrote:

> Great, it works perfectly. Thanks a millions,
>
> One more question? Can I run VMD 1.83 on an old Redhat with Linux 7.2
> core? if so how to configure it? Thanks again...

not without either recompilation or some serious dynamic linker hacking.

here's the linker hack:

- unpack, configure and install VMD as usual:
- create a directory compat in the vmd installation directory
- move vmd_LINUX and tachyon_LINUX into that directory...
- ... and add the following files and symlinks from a redhat 9 installation:

libfontconfig.so.1 libfontconfig.so.1.0 libutil-2.3.2.so
libstdc++.so.5.0.3 libgcc_s-3.2.2-20030225.so.1 libutil.so.1
ld-2.3.2.so libgcc_s.so.1 libX11.so.6
ld-linux.so.2 libm-2.3.2.so libX11.so.6.2
libc-2.3.2.so libm.so.6 libXft.so.2
libc.so.6 libpthread-0.10.so libXft.so.2.1.1
libdl-2.3.2.so libpthread.so.0
libdl.so.2 libstdc++.so.5

- add a script named wrap.sh with the contents:

 #!/bin/sh
 exe=`basename $0`
 # set wrapdir according to your installation
 wrapdir=$HOME/vmd-183/compat
 LD_LIBRARY_PATH=$wrapdir
 export LD_LIBRARY_PATH
 exec $wrapdir/ld-linux.so.2 $wrapdir/$exe "$@"
 
 
 and make it executable with: chmod +x wrap.sh
 
- and finally put two symbolic links to that script
  at the place where vmd_LINUX and tachyon_LINUX
  were originally, e.g.:
  ln -s compat/wrap.sh vmd_LINUX
  ln -s compat/wrap.sh tachyon_LINUX

that should be it. tricky but works nicely for me.

axel.

>
> Huaer
>
> On 4/11/05, John Stone <johns_at_ks.uiuc.edu> wrote:
> >
> > Yeah, sounds like a video card problem.
> > Try this (if you're a csh user):
> > setenv VMDSIMPLEGRAPHICS 1
> > vmd
> >
> > Does that allow this machine to run?
> >
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> > On Mon, Apr 11, 2005 at 02:32:49PM -0400, Huaer XC wrote:
> > > I am using IBM x-31. I guess the vedio card is fine, coz VMD works
> > > perfectly in my Win-XP system in the same Laptop. I use the default
> > > driver by Mandrake Linux, so this is probably the problem. Is there
> > > anyway I can do to solve it? thanks a lot,
> > > Huaer
> > >
> > > On Apr 11, 2005 1:30 AM, John Stone <johns_at_ks.uiuc.edu> wrote:
> > > >
> > > > Huaer,
> > > > Yes, I'd be suspicious of the Linux video driver. What video card
> > > > does your machine use?
> > > >
> > > > John Stone
> > > > vmd_at_ks.uiuc.edu
> > > >
> > > > On Sun, Apr 10, 2005 at 05:40:31PM -0400, Huaer XC wrote:
> > > > > Hi, I also got a very bad result of vmd1.83 running in my Mandrake
> > > > > 10.0 Linux. My problem is that everytime I ran vmd, three panels did
> > > > > show up, but the screen got frozen so that I had to restart my
> > > > > computer. VMD works very well with Win-XP in the same PC, so I guess
> > > > > it should not be the problems of the Video card. Is there anything I
> > > > > can do to fix this problem? Thanks in advance..
> > > > > Huaer
> > > > >
> > > > > On Apr 10, 2005 9:43 AM, matteo.pennestri_at_virgilio.it
> > > > > <matteo.pennestri_at_virgilio.it> wrote:
> > > > > > Hi
> > > > > > I have just installed vmd 1.8.3 on linux mandrake 10.0 but when I t
ype "vmd"
> > > > > > only the vmd console is displayed. No "vmd 1.8.3 OpenGL Display" an
d no
> > > > > > "VMD MAIN" is displayed.
> > > > > > Is there something that I have to do to display it?
> > > > > >
> > > > > > Many thanks.....
> > > > > > Matteo.
> > > > > >
> > > > > >
> > > >
> > > > --
> > > > NIH Resource for Macromolecular Modeling and Bioinformatics
> > > > Beckman Institute for Advanced Science and Technology
> > > > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> > > > Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> > > > WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
> > > >
> >
> > --
> > NIH Resource for Macromolecular Modeling and Bioinformatics
> > Beckman Institute for Advanced Science and Technology
> > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> > Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> > WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
> >
>

--
=======================================================================
Axel Kohlmeyer      e-mail:  axel.kohlmeyer_at_theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                   http://www.theochem.ruhr-uni-bochum.de
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.