/usr/lib/libGL.so symlink missing

Bug #883030 reported by eile
This bug report is a duplicate of:  Bug #589250: Unable to resolve function glX.... Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Under oneiric, the OpenGL packages no longer setup the symlink of the GL libs to /usr/lib, causing e.g. cmake build projects to fail.

eile (eilemann)
description: updated
Revision history for this message
eile (eilemann) wrote :

At least the CMake error was caused by a stale CMakeCache.txt. Setting up the project anew links against the correct libGL.

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

Could you elaborate on the problem, perhaps with more detailed steps to reproduce the issue?

Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
eile (eilemann) wrote :

I think it is in fact not a bug. In previous Ubuntu versions there was a symlink from /usr/lib/libGL.so to the specific library, which was cached by CMake on my system. Restarting the CMakeCache resolves this issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mesa (Ubuntu) because there has been no activity for 60 days.]

Changed in mesa (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Wellu Mäkinen (wellu) wrote :

When compiling simple Qt OpenGL program under Ubuntu there is following line in Qt project file:

QT += opengl

This adds some include directories to the project and also tries to link to /usr/lib/libGL.so which fails as there is no such file present in the system.

After creating a symlink /usr/lib/libGL.so -> /usr/lib/i386-linux-gnu/mesa/libGL.so.1 I'm able to link the program and run it normally.

Now, I think someone should create this symlink, right? Most likely libgl1-mesa-glx package.

Revision history for this message
Wellu Mäkinen (wellu) wrote :

Happens on Ubuntu 12.04.1 LTS

Changed in mesa (Ubuntu):
status: Expired → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
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.