[gutsy] libGL.a missing - linking fails

Bug #133200 reported by Christian Vogler
2
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Gutsy x86_64, as of August 17, 2007. OpenGL programs no longer link, due to

/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status

/usr/lib contains libGL.so, libGLU.a, libGLU.so, etc, but no libGL.a. The libgl1-mesa-dev package no longer seems to contain libGL.a. Do I need to install another package to provide it, or is it plain missing from the current version of libgl1-mesa-dev?

Revision history for this message
Bryce Harrington (bryce) wrote :

Hmm, according to this, libgl1-mesa-dev does not provide libGL.a:

http://packages.ubuntu.com/cgi-bin/search_contents.pl?searchmode=filelist&word=libgl1-mesa-dev&version=feisty&arch=all

Searching for libGL.a on packages.ubuntu.com shows that it is provided by the libgl1-mesa-swx11-dev package only. Perhaps you could try (re-)installing that?

By chance have you installed/uninstalled fglrx? It's been known to mess up mesa libs.

Bryce

Revision history for this message
Christian Vogler (christian-vogler) wrote :

Sorry about the late response; I was out of town.

I can no longer reproduce the problem, despite the missing libGL.a. Apparently, libGL.so is sufficient, and it could have been a simple ldconfig problem that cleared up at the next reboot. For what it is worth, I am using envy with the NVidia driver version 100.14.11. So, I guess we can just close the bug, and sorry about jumping the gun.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, marking as invalid. Thanks!

Changed in mesa:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.