missing /usr/lib/libGL.so, pkg-config gl.pc file causes programs to fail to build

Bug #1409366 reported by Pietro Gagliardi (andlabs/pietro10)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fglrx-installer-updates (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I test the software I write against GTK+ master, and for that I build cairo and pango master as part of the build process with jhbuild. After getting a new laptop with AMD graphics, mesa kept freezing so I switched to fglrx. The two libraries now fail to build.

cairo fails to link because it can't find -lGL, because it is stored in /usr/lib/fglrx, which is not included in the library search path for whatever reason. So far, solutions to the problem I've found online say to manually create a symbolic link to /usr/lib/fglrx/libGL.so in /usr/lib. There must be some better way, especially since this leads to the next problem.

In pango's case, it fails late in the build process because pkg-config can't find an OpenGL pkg-config file, which is required by the cairo one produced by the previous cairo build. I'm not sure what to do in this case.

I have installed fglrx-updates-dev as well, to no avail.

No idea if fglrx non-updates is affected either.

Ubuntu GNOME 14.10
fglrx-updates 2:14.201-0ubuntu2 installed via Additional Drivers
Lenovo G50-45
AMD A6-6310 APU with AMD Radeon R4 Graphics

Thanks.

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

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

Changed in fglrx-installer-updates (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Stroud (bigdavesr) wrote :

I can not install either fglrc or update.Am using ubuntu gnome 1410 64 bit. It worked fine on 1404.

Revision history for this message
Pietro Gagliardi (andlabs/pietro10) (andlabs) wrote :

bigdavesr: what issue are you having specifically? Are you saying installing fglrx itself fails for you?

Revision history for this message
Dave Stroud (bigdavesr) wrote :

Yes when I try to install from add. drivers it just stops an d reset to default. On using apt or synaptic it says broken pqackages un met dependacies.

Revision history for this message
Pietro Gagliardi (andlabs/pietro10) (andlabs) wrote :

That's a different issue from the one in this bug report but I'll try to diagnose it: what packages conflict?

Revision history for this message
Dave Stroud (bigdavesr) wrote :

E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Revision history for this message
Pietro Gagliardi (andlabs/pietro10) (andlabs) wrote :

And it isn't saying which packages are held or conflict...?

Revision history for this message
Dave Stroud (bigdavesr) wrote :

No its not. If it did I might be able to figure it out. It did the same on 1410.,but did work in 14.04.

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.