gDEBugger error

Hi,

I counter a problem with debugger. I cannot use it due to this problem:

The following system libraries are missing:
/usr/lib/libGL.so.1

Please ask your system administrator to install the missing libraries or create symbolic links from the above paths to the place where the libraries are installed.

I try few methods from forum. However, it does not work. I also try to get the library using getlibs.

But it returns this:

root@goo5257-laptop:~# getlibs libGL.so.1
libGL is installed from video drivers, please install or reinstall your video drivers

Anyone solve this problem? I am using ubuntu 10.04 with openGL 1.4.

Which GPU are you using? Install that vendor’s graphics drivers. If you aren’t sure which GPU you’re using, run this:

lspci | egrep -iw ‘nvidia|ati|amd’

It may give us a clue. If you’re not using a GPU and just want to run OpenGL in software (for learning), then make sure you have all of the “Mesa” and “glut” packages installed.

Also, let’s see the output of:

uname -a
ls -l /usr/lib/libGL.* /usr/lib64/libGL.*

You may just need a symlink for a library.

root@goo5257-laptop:~# lspci | egrep -iw ‘nvidia|ati|amd|intel’
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
root@goo5257-laptop:~# uname -a
Linux goo5257-laptop 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
root@goo5257-laptop:~# ls -l /usr/lib/libGL.* /usr/lib64/libGL.*
ls: cannot access /usr/lib/libGL.: No such file or directory
ls: cannot access /usr/lib64/libGL.
: No such file or directory

I am able to program and run my program on GPU. How I make sure that my driver is installed properly? So, you means now my program jz able to run in software emulation but not really using GPU?

Well, from the above, looks like you’ve got embedded/mobile Intel graphics. As to whether you’re running in software emulation or using your GPU, this may tell you:

glxinfo | egrep ‘vendor|renderer|version|direct render’

though I have to say, I have no experience running OpenGL on Intel GPUs. Just have read what others here have had to say about them.

Just for reference, here is what I see here on an NVidia GPU:


> glxinfo | egrep 'vendor|renderer|version|direct render'
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 285/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 260.19.36
glu version: 1.3

I get this result.

direct rendering: Yes
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 7.7.1
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 7.7.1
GLX version: 1.4
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 7.7.1
OpenGL shading language version string: 1.20

So, I guess mine one should not be software emulation. It should be able to use GPU since it say “direct rendering:Yes”.

By the way, what is the problem with the debugger? I still cannot find any solution from the internet. Some of them say it crash with ubuntu 10.04.