Re: glXDestroyGLXPixmap

Brian,

>Date: Wed, 19 Jun 2002 10:23:25 -0700
>From: "Schlining, Brian" <brian@xxxxxxxxx>
>To: "'visad-list@xxxxxxxxxxxxx'" <visad-list@xxxxxxxxxxxxx>
>Subject: 

The above message contained the following:

> I'm trying to run ViasAD/java3d on a Redhat Linux 7.3 with a NVIDIA
> TNT2 Ultra card. I'm using NVIDIA's drivers, NOT Mesa3d, and Blackdown's
> Java3d beta 1 with Sun's JDK 1.4.0_01. When I running the demo
> HelloUniverse (using java -Dj3d.sharedctx=false HelloUniverse) that
> comes with java3d I get the following error:
> 
> java.lang.UnsatisfiedLinkError: 
> /usr/java/j2sdk1.4.0_01/jre/lib/i386/libJ3D.so: 
> /usr/java/j2sdk1.4.0_01/jre/lib/i386/libJ3D.so: undefined symbol: 
> glXDestroyGLXPixmap
>       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
>       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396)
>       at java.lang.Runtime.loadLibrary0(Runtime.java:772)
>       at java.lang.System.loadLibrary(System.java:832)
>       at javax.media.j3d.MasterControl$12.run(MasterControl.java:696)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:693)
>       at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:206)
>       at HelloUniverse.init(HelloUniverse.java:85)
>       at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:294)
>       at java.lang.Thread.run(Thread.java:536)
> 
> 
> 
> My setup is:
> 
> XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 23 January 2002
> Build Operating System: Linux 2.4.17-0.13smp i686 [ELF] 
> Build Host: daffy.perf.redhat.com
> 
> NVIDIA_kernel-1.0-2960.rh73up
> NVIDIA_GLX-1.0-2960
> 
> 
> Does anyone have any ideas of what may be happening and how I might fix it?
> Thanks

It appears that your NVIDIA OpenGL library (NVIDIA_GLX-1.0-2960) doesn't
contain the global symbol "glXDestroyGLXPixmap", which is being referenced 
referenced by the native code of your Java 3D implementation (Blackdown's
Java3d beta).  This would indicate a mismatch between the two libraries.
You should be able to verify this by using the nm(1) utility on the
Java3D native code library and the OpenGL library.

I'm afraid that I don't know how to fix it.  You might try complaining
to Blackdown and NVIDIA.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>