invalid line in debian/nvidia-glx-177-dev.links.in causing a broken link

Bug #254444 reported by criticalmess
2
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Fix Released
Medium
Alberto Milone
nvidia-graphics-drivers-177 (Ubuntu)
Fix Released
Medium
Alberto Milone
nvidia-graphics-drivers-71 (Ubuntu)
Fix Released
Medium
Alberto Milone
nvidia-graphics-drivers-96 (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

i.e. having 'nvidia-glx-177' and 'nvidia-glx-177-dev' installed and running ./configure --enable-opengl in the folder */mms-1.1.0-rc7/ gaves output:

Checking for openGL

Error: Please install opengl!

TEST CASE:
ls -ld /usr/lib/libGL.so

Lastest Version Tested:
177.13-0ubuntu7

WORKAROUND:
sudo ln -sf /usr/lib/libGL.so.177.13 /usr/lib/libGL.so

NEXT STEP:
packagers, please fix debian/nvidia-glx-177-dev.links.in

Revision history for this message
criticalmess (criticalmess) wrote :

echo "Checking for openGL"

cat > test.c << EOF
#include <GL/gl.h>
#include <GL/glext.h>
int main( void ) { glViewport( 0, 0, 0, 0 ); return 0; }
EOF

cypher@HackFleisch:~/mms-1.1.0-rc7$ gcc -o test.o test.c -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status

cypher@HackFleisch:~$ ls /usr/lib/libGL.*
/usr/lib/libGL.la /usr/lib/libGL.so.1
/usr/lib/libGL.so /usr/lib/libGL.so.177.13

cypher@HackFleisch:~$ sudo apt-get install nvidia-glx-177-*
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Achtung, wähle nvidia-glx-177 für regulären Ausdruck »nvidia-glx-177-*«
Achtung, wähle nvidia-glx-177-dev für regulären Ausdruck »nvidia-glx-177-*«
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

Revision history for this message
Kjell Braden (afflux) wrote :

The issue is a broken link:

$ls -ld /usr/lib/libGL.so
lrwxrwxrwx 1 root root 24 2008-08-03 20:30 /usr/lib/libGL.so -> /#usr/lib/libGL.so.177.13

I'll check the packaging in a minute.

Changed in nvidia-graphics-drivers-177:
status: New → Confirmed
Revision history for this message
criticalmess (criticalmess) wrote :

Fix:
sudo ln -sf /usr/lib/libGL.so.177.13 /usr/lib/libGL.so

Checking for openGL
- test ok

Revision history for this message
Kjell Braden (afflux) wrote :

The first line in debian/nvidia-glx-177-dev.links.in looks like this:

#usr/lib/libGL.so.#VERSION# usr/lib/libGL.so

I don't know wether the # at the beginning was intentional, but it looks like dh_link does not look for comments in it's files. Either remove this line completely (which would result in not being able to link against libGL) or remove the # sign.

Changed in nvidia-graphics-drivers-177:
importance: Undecided → Medium
status: Confirmed → Triaged
description: updated
Revision history for this message
Alberto Milone (albertomilone) wrote :

Thanks for reporting. You're right there's a "#" in the nvidia-glx-*-dev.links.in.

I'll upload the fix soon.

Changed in nvidia-graphics-drivers-177:
assignee: nobody → albertomilone
status: Triaged → In Progress
Changed in nvidia-graphics-drivers-173:
assignee: nobody → albertomilone
status: New → In Progress
importance: Undecided → Medium
Changed in nvidia-graphics-drivers-71:
assignee: nobody → albertomilone
importance: Undecided → Medium
status: New → In Progress
Changed in nvidia-graphics-drivers-96:
assignee: nobody → albertomilone
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-173 - 173.14.12-0ubuntu4

---------------
nvidia-graphics-drivers-173 (173.14.12-0ubuntu4) intrepid; urgency=low

  * Fix (LP: #254444) Remove pound from link in nvidia-glx-173-dev.links.in
  * Fix (LP: #259105) Add missing link to usr/lib/libXvMCNVIDIA.so.#VERSION# in
    usr/lib/libXvMCNVIDIA.so

 -- Alberto Milone (tseliot) <email address hidden> Wed, 20 Aug 2008 10:57:50 +0200

Changed in nvidia-graphics-drivers-173:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-177 - 177.67-0ubuntu1

---------------
nvidia-graphics-drivers-177 (177.67-0ubuntu1) intrepid; urgency=low

  * Fix (LP: #254444) Remove pound from link in nvidia-glx-177-dev.links.in
  * Fix (LP: #259105) Add missing link to usr/lib/libXvMCNVIDIA.so.#VERSION# in
    usr/lib/libXvMCNVIDIA.so
  * Add driver 177.67:
     * Added support for the following new GPUs:
       o GeForce GTX 260
       o GeForce GTX 280
     * Improved support for RENDER masks, as well as RENDER repeating modes and
       transformations, for video memory pixmaps.
     * Added accelerated support for RENDER convolution filters for video memory
       pixmaps on GeForce 8, 9 and GTX GPUs.
     * Added an 'AllowSHMPixmaps' X configuration option, which can be used to prevent
       applications from using shared memory pixmaps; the latter may cause some
       optimizations in the NVIDIA X driver to be disabled.
     * Added support for DisplayPort display devices (including 30-bit devices).
     * Resolved various stability problems on GeForce 8, 9 and GTX GPUs, as well as
       some GeForce 6 and 7 PCI-E GPUs.
     * Fixed a bug that resulted in GPU errors when changing the TwinView display
       configuration while using Compiz.
     * Further improved the error recovery paths taken in case of GPU command stream
       corruption.
     * Removed an old workaround that caused incorrect fake Xinerama information to be
       reported after enabling a second TwinView display.
     * Fixed the subpicture component order reported by the NVIDIA X driver's XvMC
       implementation.
     * Fixed a problem that could result in IRQs being disabled on some multi-GPU SMP
       configurations.
     * Worked around cache flushing problems (on some Linux kernels) that caused
       corruption and stability problems.
     * Added experimental support for PCI-E MSI.
     * Improved compatibility with recent Linux 2.6 kernels.

 -- Alberto Milone (tseliot) <email address hidden> Wed, 20 Aug 2008 10:35:05 +0200

Changed in nvidia-graphics-drivers-177:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-71 - 71.86.04-0ubuntu9

---------------
nvidia-graphics-drivers-71 (71.86.04-0ubuntu9) intrepid; urgency=low

  * Fix (LP: #254444) Remove pound from link in nvidia-glx-71-dev.links.in
  * Fix (LP: #259105) Add missing link to usr/lib/libXvMCNVIDIA.so.#VERSION# in
    usr/lib/libXvMCNVIDIA.so

 -- Alberto Milone (tseliot) <email address hidden> Wed, 20 Aug 2008 11:25:28 +0200

Changed in nvidia-graphics-drivers-71:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-96 - 96.43.05-0ubuntu9

---------------
nvidia-graphics-drivers-96 (96.43.05-0ubuntu9) intrepid; urgency=low

  * Fix (LP: #254444) Remove pound from link in nvidia-glx-96-dev.links.in
  * Fix (LP: #259105) Add missing link to usr/lib/libXvMCNVIDIA.so.#VERSION# in
    usr/lib/libXvMCNVIDIA.so

 -- Alberto Milone (tseliot) <email address hidden> Wed, 20 Aug 2008 10:59:46 +0200

Changed in nvidia-graphics-drivers-96:
status: In Progress → Fix Released
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.