Problem with Cg on amd64

hi,

im just trying to port my jogl program to amd64 but i got the problem that there is an UnsatisfiedLinkError occuring in the libjogl_cg.so.
Im using Cg version 1.4.0-4_x86_64. I tried some older ones and also some of the 1.5 beta releases but that doesnt fix the error. i also compiled the jogl libs on my own system instead of using the precompiled binaries but that didnt help either.

someone got an idea how to fix this problem?


Exception in thread "Thread-2" javax.media.opengl.GLException: java.lang.UnsatisfiedLinkError: /home/jdq/src/jogl/jogl/build/obj/libjogl_cg.so: /usr/lib/libCgGL.so: undefined symbol: __cxa_pure_virtual
	at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
	at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:256)
	at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
	at com.sun.opengl.util.Animator.display(Animator.java:144)
	at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
	at java.lang.Thread.run(Thread.java:595)

What version of Linux, etc. are you using?

I don’t think we’ve tested the Cg functionality in our Linux/AMD64 build yet. Nonetheless, this looks like some sort of C library skew or something similar and probably should be reported to NVidia.

Note that you can use the 32-bit (x86) JDK and JOGL on AMD64 hardware as a workaround.

its a gentoo linux:
gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
Java HotSpot™ 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)
glibc-2.3.6-r3

i’ll try the 32-bit workaround… thx