kwin crashes at launch asking for libwayland-egl.so.1 under X11

Bug #1303189 reported by Ivan Vučica
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde-workspace (Ubuntu)
New
Undecided
Unassigned

Bug Description

When KDE session tries to launch kwin under X11, it crashes. Manually launching it from terminal gives the following error:
  kwin: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory

Same for kwinactive:
  kwinactive: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory

The relevant file in Debian comes from libegl1-mesa-drivers. (I looked up in Debian as Ubuntu's http://packages.ubuntu.com/file:libwayland-egl.so.1 is broken.)

'locate libwayland-egl.so.1' says the file lives in /usr/lib/x86_64-linux-gnu/mesa-egl. Adding this path to dynamic loader's path fixed the issue.
  LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa-egl:$LD_LIBRARY_PATH kwin

The real question, I guess, is how come there is a dependency on a library intended for Wayland while running under X11... and, more so, how come the relevant path is not already part of the ld path.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: kde-window-manager 4:4.11.5-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
Uname: Linux 3.11.0-18-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sun Apr 6 00:54:05 2014
InstallationDate: Installed on 2014-02-18 (46 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: kde-workspace
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ivan Vučica (ivucica) wrote :
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.