← Back to team overview

desktop-packages team mailing list archive

[Bug 1409366] [NEW] missing /usr/lib/libGL.so, pkg-config gl.pc file causes programs to fail to build

 

Public bug reported:

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.

** Affects: fglrx-installer-updates (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer-updates in Ubuntu.
https://bugs.launchpad.net/bugs/1409366

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

Status in fglrx-installer-updates package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer-updates/+bug/1409366/+subscriptions


Follow ups

References