Thanks for the quick reply.

> libGL is not provided by osmesa, instead it should be part of display
> card driver. To find out which package, try
>   ls -l /usr/lib/libGL.so*

$ ls -l /usr/lib/libGL.so*
lrwxrwxrwx 1 root root     10 2009-11-02 23:08 /usr/lib/libGL.so ->
libGL.so.1
lrwxrwxrwx 1 root root     12 2009-11-02 23:08 /usr/lib/libGL.so.1 ->
libGL.so.1.2
-rw-r--r-- 1 root root 403800 2009-10-13 23:08 /usr/lib/libGL.so.1.2

> and for each of its output, type
>   sudo dpkg -S /usr/lib/libGL.so.1  (etc)

$ sudo dpkg -S /usr/lib/libGL.so.1.2
libgl1-mesa-glx: /usr/lib/libGL.so.1.2

> but that might not helping solving the problem.
> 
> Or did you install sun-java?

This is my version of java:
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

I can also run the Java opengl demos from
https://jogl-demos.dev.java.net/ (albeit slowly, since ATI dropped
support for my video card). 

Hope this information helps.

Regards
Alb

> lun, 29 Mar 2010, al cole skribis:
> > Hello,
> > 
> > I have recently installed J and I'm going through the labs trying to
> > wrap my head around this weird language... fun enough so far, but I have
> > a problem with the OpenGL labs and demos.
> > 
> > I am running ubuntu 9.10 with the latest version of OSMesa installed
> > (6.5.3), but whenever J tries to run an opengl demo, it crashes, because
> > of a segmentation fault in libGL (so says the log, attached).
> > 
> > I've read in the archive that some people managed to make it work by
> > compiling and installing mesa locally... the information is quite
> > outdated, though (2006!), so before going through that pain, I thought
> > I'd ask the list.
> > 
> > Thanks
> > alb
> 
> 


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to