Public bug reported: nvidia-current contains libGL.so which is found (if a nvidia card is used for accelerated graphics) by setting /etc/alternatives/x86_64 -linux-gnu_gl_conf.
nvidia-current however contains other libraries, which are useful also if an nvidia card is not used for OpenGL, such as libnvidia-compiler.so for OpenCL or libcuda.so for CUDA. In such a case, the whole /usr/lib /nvidia-current directory must NOT be added to ld.so.conf.d or LD_LIBRARY_PATH, since it also contains nvidia's libGL.so, which could override (come first before) libGL.so's installed by other drivers. A workaround is to link manually individual libs from /usr/lib/nvidia- current into /usr/(local/)lib so that they are found, while not exposing the libGL.so. A proper solution would be to create symlinks for libs not carrying a generic name (e.g. libcuda.so, libnvidia-compiler.so, but NOT libOpenCL.so, libGL.so, which are also provided by other packages) in directories searched by ld.so by default, e.g. /usr/lib. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nvidia-current 295.20-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: fglrx nvidia .tmp.unity.support.test.0: ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None Date: Mon Mar 19 14:04:24 2012 DistUpgraded: Log time: 2012-03-12 11:26:17.508009 DistroCodename: precise DistroVariant: ubuntu DkmsStatus: blcr, 0.8.2: added fglrx-updates, 8.911, 3.2.0-18-generic, x86_64: installed nvidia-current, 295.20, 3.2.0-18-generic, x86_64: installed GraphicsCard: Advanced Micro Devices [AMD] nee ATI Cayman XT [Radeon HD 6970] [1002:6718] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:03bc] NVIDIA Corporation GF110 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller]) Subsystem: CardExpert Technology Device [10b0:0401] JockeyStatus: xorg:fglrx_updates - ATI/AMD proprietary FGLRX graphics driver (post-release updates) (Proprietary, Disabled, Not in use) xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Disabled, Not in use) xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use) xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use) MachineType: System manufacturer System Product Name ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic root=UUID=3cc5f6b9-69d1-4bb6-a9d0-93d506786ed9 ro SourcePackage: nvidia-graphics-drivers UpgradeStatus: Upgraded to precise on 2012-03-12 (7 days ago) dmi.bios.date: 10/03/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0604 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P9X79 DELUXE dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0604:bd10/03/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP9X79DELUXE:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1 version.fglrx-installer: fglrx-installer N/A version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.30-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu5 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu5 version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A ** Affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug has-workaround precise single-occurrence ubuntu -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/959275 Title: libs unique to nvidia should be linked to /usr/lib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/959275/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp