← Back to team overview

desktop-packages team mailing list archive

[Bug 943162] Re: libgl1-mesa-dev links libGL.so to mesa/libGL.so which conflicts with nvidia's libGL.

 

Same issue with libgles1-mesa-dev and libgles2-mesa-dev in 14.04

As a workaround, it is safe to remove the following:

/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libEGL.so
/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so
/usr/lib/x86_64-linux-gnu/libGLESv2.so

Then run ldconfig

This only affects programs that try to dlopen() lib*GL*.so instead of
lib*GL*.so.1 (like Factor)

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

Title:
  libgl1-mesa-dev links libGL.so to mesa/libGL.so which conflicts with
  nvidia's libGL.

Status in mesa package in Ubuntu:
  Confirmed

Bug description:
  It seems like libgl1-mesa-dev creates the symbolic link
  /usr/lib/x86_64-linux-gnu/libGL.so, pointing to mesa/libGL.so. This
  conflicts with NVidia's libGL.so and ignores the alternative settings.
  For instance, a call to dlopen will load the mesa library instead of
  the nvidia library. This is in particular a problem when using OpenGL
  in dynamic languages such as Python or Common Lisp since they foreign
  function interfaces use something like dlopen.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: libgl1-mesa-dev 7.11-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  280.13  Wed Jul 27 16:53:56 PDT 2011
   GCC version:  gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  .tmp.unity.support.test.0:
   
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,compiztoolbox,grid,vpswitch,resize,imgpng,snap,regex,animation,workarounds,mousepoll,expo,place,move,gnomecompat,unitymtgrabhandles,wall,ezoom,session,fade,scale,unityshell]
  CompositorRunning: None
  Date: Wed Feb 29 11:13:06 2012
  DistUpgraded: Fresh install
  DistroCodename: oneiric
  DistroVariant: ubuntu
  DkmsStatus: nvidia-current-updates, 280.13, 3.0.0-16-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
  GraphicsCard:
   nVidia Corporation G94 [GeForce 9600 GT] [10de:0622] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. Device [1043:827c]
  JockeyStatus:
   xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
   xorg:nvidia_173_updates - NVIDIA accelerated graphics driver (post-release updates) (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, Enabled, In use)
  MachineType: System manufacturer System Product Name
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   LC_PAPER=de_DE.UTF-8
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=cc3cd9ea-6f90-44c3-a6e8-67758cff1603 ro splash quiet vt.handoff=7
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/27/2009
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: ASUS M3N78 PRO ACPI BIOS Revision 0801
  dmi.board.name: M3N78 PRO
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: 1.XX
  dmi.chassis.asset.tag: 123456789000
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSM3N78PROACPIBIOSRevision0801:bd03/27/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM3N78PRO:rvr1.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.6+bzr20110929-0ubuntu6.1
  version.ia32-libs: ia32-libs 20090808ubuntu26
  version.libdrm2: libdrm2 2.4.26-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
  version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/943162/+subscriptions