From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jun 29 2000 - 15:12:53 CDT

Miguel,
  The machine I'm building on is running 2.2.14-5.0 on RedHat 6.2,
and is a uniprocessor machine. We have seen the "BUG IN DYNAMIC LINKER"
error before too, but it only occurs when attempting to run the compiled
VMD binary on a system that has a mismatched version of the Mesa libGL.so
in its dynamic linking path somewhere. We fixed this by removing the bad
Mesa libraries on affected machines, and making a symbolic link to the
NVidia supplied libGL.so on those machines. I just read that they have
frozen XFree 4.01 recently, so there is some hope that some of these problems
will get ironed out soon. If you read the NVidia FAQ they make mention of
some of the problems that are known to exist with getting their libraries
to work properly with things compiled against certain versions of Mesa
RPMs that are out there. Their FAQ page mentions some of this in section
5.2: http://www.nvidia.com/Products/OpenLinuxDwn.nsf/xfree86_40bld093FAQ

I'd been hoping to avoid making people compile their own binaries, its
nicer just to have it install and run, but it could be that the current
state of XFree with 3-D is just a little to shaky for this to be a true
reality.

If you have any suggestions or discoveries on what is going on with your
boxes, definitely let us know.

Thanks!
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Jun 29, 2000 at 11:37:34AM -0500, Miguel Teodoro wrote:
> John,
>
> With the final 1.5 version I'm still getting the same dynamic linker
> error in both Mandrake 7.1 and RedHat 6.2:
>
> BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
> Assertion `needed != ((void *)0)' failed!
>
> If I recompile everything works fine (on the single CPU machine). Is
> anyone else using these distributions and having the same problems?
>
> John, you can check the kernel version on your machines by doing `uname
> -a` and the redhat release by `cat /etc/redhat-release`
>
> -Miguel
>
>
> John Stone wrote:
> >
> > Miguel,
> > Can you try the VMD 1.5 distribution I just made available, and
> > let me know if you still get that dynamic linking error? It works
> > find on our boxes here, but the b1 version may have been funny
> > for some reason. Give it a spin and let me know how it works
> > for you. Oh, and about dual CPU: We have one machine with a
> > GeForce 2 GTS that has two CPUs, and it seems to work fine.
> > We're running RedHat, but I don't know which kernel rev that machine
> > has. If you want, I can ask our sysadmin to let me know what they
> > are doing for that machine. That's not the machine that I compile
> > on though, so it may not matter much for you.
> >
> > Let me know if the 1.5 binaries I put up work for you.
> >
> > Thanks!
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> > On Mon, Jun 26, 2000 at 04:19:39PM -0500, Miguel Teodoro wrote:
> > > Hi,
> > >
> > > Thanks for your reply. But I don't think this is the problem. I looked
> > > for any old openGL libs and made sure I renamed them. I don't think my
> > > problems are from vmd.
> > >
> > > I recompiled vmd and I am now able to run it on a single CPU machine
> > > with a GeForce2 GTS (yes, it is fast!!!). However on a dual CPU machine
> > > (Geforce 256 DDR) I'm getting occasional lockups on X and the system
> > > always crashes if I try to start any openGL application.
> > > I'm using MAndrake 7.1 on both boxes and my guess is that the problems
> > > are some kind of conflict between the Nvidia drivers and the SMP (they
> > > talk about this in the FAQ but they don't go into any detail). However I
> > > also tried to boot in single CPU mode and reinstall the nvidia drivers
> > > but this didn't solve the problem. Maybe this machine is cursed :(
> > >
> > > Have you tried DRI VMD on a dual CPU linux machine? What distribution
> > > and kernel version are you using for compilation? (The only way I found
> > > to avoid the dynamic linker problems was to recompile everything)
> > >
> > > Thank you,
> > > -Miguel
> > >
> > >
> > >
> > > John Stone wrote:
> > > >
> > > > Hi Miguel,
> > > > Sorry for the delayed response, I've been out of town
> > > > for a couple of weeks, and I'm still feverishly working on
> > > > catching up on emails....
> > > >
> > > > I think I know what the problem you are experiencing is...
> > > > You may have a libGL.so file out in /usr/X11R6/lib which
> > > > conflicts with the libGL.so supplied by NVidia, that gets
> > > > copied into /usr/lib/libGL*. If you rename this library to
> > > > /usr/X11R6/lib/ligGL.so.1.old or something, and then do an
> > > > ln -s /usr/lib/libGL.so /usr/X11R6/lib/libGL.so.1 things
> > > > should work fine. We have this same issue on our Linux
> > > > machines that have the NVidia drivers. (We just tried VMD
> > > > on a 750MHz Athlon, with a GeForce 2 GTS, WOW, quite fast!!)
> > > >
> > > > Let us know if you have any other questions about this, or if
> > > > anyone has other suggestions for avoiding this particular quirk
> > > > with the NVidia drivers.
> > > >
> > > > Thanks,
> > > > John Stone
> > > > vmd_at_ks.uiuc.edu
> > > >
> > > > On Tue, Jun 13, 2000 at 06:39:48PM -0500, Miguel Teodoro wrote:
> > > > > Hi VMD-L,
> > > > >
> > > > > I'm trying to use the DRI version of vmd but with no luck.
> > > > > When I start the vmd the xterm dies before anything comes up. If I
> > > > > execute vmd_LINUX directly I get the following error message:
> > > > >
> > > > > BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
> > > > > Assertion `needed != ((void *)0)' failed!
> > > > >
> > > > > I get the same error if I do "ldd vmd_LINUX". This happens in Mandrake
> > > > > 7.1 and 7.0 and in RedHat 6.2. In Mandrake 5.3 ldd works. I get:
> > > > >
> > > > > libGL.so.1 => not found
> > > > > libGLU.so.1 => not found
> > > > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40005000)
> > > > > libdl.so.2 => /lib/libdl.so.2 (0x400aa000)
> > > > > libm.so.6 => /lib/libm.so.6 (0x400ad000)
> > > > > libc.so.6 => /lib/libc.so.6 (0x400c6000)
> > > > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
> > > > >
> > > > > But unfortunately I don't have a graphic card or xfree4 on this system.
> > > > >
> > > > > I'm using xfree 4.0, Mandrake 7.1 and the latest nvidia driver 0.9.3 (I
> > > > > also tried 0.9.2). The graphics card is geforce 256 DDR and it seems to
> > > > > be working fine as far as quake3 goes.
> > > > >
> > > > > Thanks for help,
> > > > > -Miguel Teodoro
> > > >
> > > > --
> > > >
> > > > Theoretical Biophysics Group Email: johns_at_ks.uiuc.edu
> > > > Beckman Institute http://www.ks.uiuc.edu/~johns/
> > > > University of Illinois Phone: (217) 244-3349
> > > > 405 N. Mathews Ave FAX: (217) 244-6078
> > > > Urbana, IL 61801, USA Unix Is Good For You!!!
> >
> > --
> >
> > Theoretical Biophysics Group Email: johns_at_ks.uiuc.edu
> > Beckman Institute http://www.ks.uiuc.edu/~johns/
> > University of Illinois Phone: (217) 244-3349
> > 405 N. Mathews Ave FAX: (217) 244-6078
> > Urbana, IL 61801, USA Unix Is Good For You!!!

-- 
Theoretical Biophysics Group   Email: johns_at_ks.uiuc.edu
Beckman Institute              http://www.ks.uiuc.edu/~johns/
University of Illinois         Phone:  (217) 244-3349
405 N. Mathews  Ave              FAX:  (217) 244-6078 
Urbana, IL 61801, USA          Unix Is Good For You!!!