missing /usr/lib/libGL.so, pkg-config gl.pc file causes programs to fail to build
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/
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.
Status changed to 'Confirmed' because the bug affects multiple users.