Hi Jeff,

Thank you very much for your answer. I followed your suggestion 
and it worked. The only thing I have to add was the change to the
LD_LIBRARY_PATH variable, which Java (or its different packages)
used to get to the shared library.

Regards,

Jacob Nikom

Jeff Galyan wrote:
> 
> Jacob,
> 
> Just make a symlink to libGL.so as libMesaGL.so.3 - in Mesa3D 3.x, the
> default for the build is to name the libraries libGL.so etc., for easier
> swappability with "real" OpenGL implementations. Earlier versions of
> Mesa3D used the name libMesaGL.so for the libGL.so library.
> 
> The sumlink can be created in whichever directory your libGL.so lives
> in.
> 
> --Jeff
> 
> Jacob Nikom wrote:
> >
> > Hi,
> >
> > I run RedHat 6.0, libc-2.1.1 and Blackdown jdk1.2pre-v2-debug.tar.bz2.
> > I installed Java3D package from
> > ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/java3d/1.1.1/i386/
> >
> > Everything went smoothly, even the installation of the MesaGL library.
> > I was able to run a lot of MesaGL demos.
> >
> > However, when I started to run Java3d examples, every example
> > complained about the lack of libMesaGl.so.3 library:
> > appletviewer -J-mx64m HelloUniverse.html
> > java.lang.UnsatisfiedLinkError:
> > /homes/nikom/Java/jdk1.2/jre/lib/i386/libJ3D.so:
> > libMesaGL.so.3: cannot open shared object file: No such file or
> > directory
> >         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> >         at java.lang.ClassLoader.loadLibrary0(Compiled Code)
> >         at java.lang.ClassLoader.loadLibrary(Compiled Code)
> >         at java.lang.Runtime.loadLibrary0(Compiled Code)
> >         at java.lang.System.loadLibrary(Compiled Code)
> >         at javax.media.j3d.UniverseManager$1.run(Compiled Code)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at javax.media.j3d.UniverseManager.<init>(Compiled Code)
> >         at javax.media.j3d.VirtualUniverse$2.run(Compiled Code)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:464)
> >         at HelloUniverse.<init>(Compiled Code)
> >         at java.lang.Class.newInstance0(Native Method)
> >         at java.lang.Class.newInstance(Compiled Code)
> >         at sun.applet.AppletPanel.createApplet(Compiled Code)
> >         at sun.applet.AppletPanel.runLoader(Compiled Code)
> >         at sun.applet.AppletPanel.run(Compiled Code)
> >
> > However, Mesa's installation script did not create MesaGL library - it
> > only
> > produced libGL.so, libGLU.so, libglut.so, etc. How I can get
> > libMesaGL.so
> > and where I have to put it?
> >
> > Thank you,
> >
> > Jacob Nikom
> >
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> --
> Jeff Galyan
> http://www.anamorphic.com
> http://www.sun.com
> jeffrey dot galyan at sun dot com
> talisman at anamorphic dot com
> Sun Certified Java(TM) Programmer
> ======================================================================
> Linus Torvalds on Microsoft and software development:
> "... if it's a hobby for me and a job for you, why are you doing such a
> shoddy job of it?"
> 
> The views expressed herein do not necessarily reflect those of my
> employer.
> 
> Sun Microsystems, Inc., has no connection to my involvement with the
> Mozilla Organization.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to