undefined symbol: gluBuild1DMipmapLevels

I’m having a bit of trouble running the jogl demos and I am looking for some help.

When I try to run the gears demo I get the following:

java -Djava.library.path=/home/paul/work/jogl/jogl/build/obj
/ demos.gears.Gears
Exception in thread “main” java.lang.UnsatisfiedLinkError: /home/paul/work/jogl/
jogl/build/obj/libjogl.so: /home/paul/work/jogl/jogl/build/obj/libjogl.so: undef
ined symbol: gluBuild1DMipmapLevels
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)

My classpath is this:
.:/home/paul/work/antlr/antlr-2.7.2/antlr.jar:/home/paul/work/jogl/jogl/build/classes:/home/paul/work/jogl/jogl-demos/build/classes

I am using java version “1.4.2-beta”

on red hat linux 7.2

Any help would be appreciated.

Thanks

Paul

I am using RH Linux 7.2 and have the same problem.

wz

We’ve only tested Jogl on Red Hat 7.3 which probably contains a more recent version of the GLU library. Nonetheless, today’s checkin, which causes the GLU routines to be looked up dynamically instead of being statically linked, should improve the behavior. Note the prebuilt binaries were made on 7.3 so they aren’t guaranteed to work on 7.2.

:slight_smile: Woohoo - the new build works with RH 7.2. Thanks much!

Paul

I built it on RH 7.2 and it worked! Thanks! ;D

wz