Public bug reported: I have installed the package 'nvidia-340-updates' and 'nvidia-340-updates-dev'. When I compile a program that it uses these libraries it fails when it tries to link them: ... /usr/bin/cc -DHAVE_AVVDPAUContext -Wl,--as-needed -Wl,-s -Wl,-S -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -fuse-linker-plugin CMakeFiles/cmTryCompileExec2899732480.dir/src.c.o -o cmTryCompileExec2899732480 -rdynamic -lasound -lgio-2.0 -lXrandr -lXrender -lX11 -lXcursor -lGL -lconfig -ldrm -levent_pthreads -levent -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype -lssl -lcrypto -ldl -lrt -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype -lGLESv2 -lpulse -lavcodec -lavutil -lva-x11 -lva -lvdpau -lgio-2.0 -lXrandr -lXrender -lX11 -lXcursor -lGL -lconfig -ldrm -levent_pthreads -levent -lpangocairo-1.0 -lpangoft2-1.0 -lssl -lcrypto -ldl -lrt -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lGLESv2 -lpulse -lavcodec -lavutil -lva-x11 -lva -lvdpau /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGLESv2 ...
ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: nvidia-340-updates 340.76-0ubuntu0.1 Uname: Linux 4.1.6-040106-i7 x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.12 Architecture: amd64 CurrentDesktop: Unity Date: Thu Aug 20 18:47:15 2015 InstallationDate: Installed on 2014-07-18 (398 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: nvidia-graphics-drivers-340-updates UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nvidia-graphics-drivers-340-updates (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1487134 Title: linker doesn't find NVIDIA libraries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1487134/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs