[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879508: libdrm2: undefined symbol: drmGetDevice2



Hi,

it was first thing i checked:

---

ldd /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0|grep -i drm
        libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f9f4a366000)

---

The source of the problem was the old DRM library. Command `dpkg -l libdrm2` returns version 2.4.84-2 but size of the binary from the deb archive was diffrent. After manual replace of the library files problem disappeared

In conclusion, the problem was not related to the DRM library.


At this moment the problem is resolved.


W dniu 22.10.2017 o 21:54, Sven Joachim pisze:
Control: tags -1 + moreinfo

On 2017-10-22 14:20 +0200, Adam Nieścierowicz wrote:

Cant't Run GDM3 and SDDM, error from GSM3
/usr/lib/gdm3/gdm-x-session[1420]: /usr/lib/gnome-session/gnome-session-check-accelerated: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0: undefined symbol: drmGetDevice2
Please run "ldd /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0".  I bet you
will see a libdrm.so.2 in /usr/local/lib or something like that which
shadows the one from the libdrm2 package.

Weston Error:
l# weston
Date: 2017-10-22 CEST
[14:19:16.739] weston 3.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0
               Build: unknown (not built from git or tarball)
[14:19:16.739] Command line: weston
[14:19:16.739] OS: Linux, 4.13.0-1-amd64, #1 SMP Debian 4.13.4-2 (2017-10-15), x86_64
[14:19:16.740] warning: XDG_RUNTIME_DIR "/run/user/1000" is not configured
correctly.  Unix access mode must be 0700 (current mode is 700),
and must be owned by the user (current owner is UID 1000).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[14:19:16.740] Starting with no config file.
[14:19:16.740] Output repaint window is 7 ms maximum.
[14:19:16.740] Loading module '/usr/lib/x86_64-linux-gnu/libweston-3/drm-backend.so'
[14:19:16.742] Failed to load module: /usr/lib/x86_64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2
Same here.

Cheers,
       Sven

-- 
---
Pozdrawiam
Adam Nieścierowicz

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: