libwayland-egl.so error for Cheese (wont start)

Bug #1290099 reported by Israel Dahl on 2014-03-09
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
High
Unassigned

Bug Description

Cheese used to start and work fine. I am not entirely sure when the problem started. But now Cheese does not start.
$ cheese
The window doesn't load. there is an error (when starting from the terminal)
cheese: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory

I have a similar problem with the User Accounts.

Some update borked this wayland library being linked correctly.
I am sure there is a fairly easy workaround.... but I would like it to be fixed, and not happen to anyone else.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cheese 3.10.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-16.36-generic 3.13.5
Uname: Linux 3.13.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 9 13:37:55 2014
InstallationDate: Installed on 2014-02-26 (11 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64+mac (20140224)
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)

Israel Dahl (israeldahl) wrote :
Israel Dahl (israeldahl) wrote :

Another related bug
https://bugs.launchpad.net/kubuntu-ppa/+bug/1206371

with THIS workaround

ln -s /usr/lib/x86_64-linux-gnu/mesa-egl/libwayland-egl.so.1 /usr/lib/libwayland-egl.so.1

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cheese (Ubuntu):
status: New → Confirmed

It prevents the package (or a dependent one) from functioning correctly at all.

Changed in cheese (Ubuntu):
importance: Undecided → High
Cerin (chrisspen) wrote :

Dahl's workaround doesn't work for me because /usr/lib/x86_64-linux-gnu/mesa-egl/libwayland-egl.so.1 does not exist either, so there's nothing to symlink...

Cerin (chrisspen) wrote :

I was able to fix the error by installing some libwayland packages:

    sudo apt-get install libwayland-dev-lts-trusty libwayland-egl1-mesa-lts-trusty

Cheese was working fine for me a few weeks ago, so I'm not sure how these became uninstalled or why the cheese package didn't require them. My only guess is that I had been using the Nouveau video driver and switched to Nvidia because Nouveau doesn't support suspend/resume on my laptop.

Now when I launch Cheese, it runs, but reports:

    There was an error playing video from the webcam

van hanegen (4997865862-o) wrote :

Installing this packages helped me too. Now i can access my User Accounts.
Cerin (chrisspen), thank you very much! (Ubuntu 14.04 (upgrade from 13.10), 32 bit, Nvidia 352.09 driver.)

Cecil Carpenter (cscj01) wrote :

Cerin,

Thanks for this fix. My endless loop has stopped, and I can use Applications>System Tools>User Accounts again. I am on 14.04.2 x64. Your fix is much appreciated.

Albert Cutrona (acutbal) wrote :

Cerin,

I also appreciate your fix, it worked for me also. I had this problem, running Ubuntu 14.04.3

https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1289807.

Thank you very much!!

Mario Apicella (7-mario) wrote :

Happy to say that Cerin prescription works also for me. Cheese had stopped working, as described in the OP, and now works.
New install of Ubuntu 14.04.03 on an ASUS G73JW with Nvidia GTX- 460M and proprietary driver.

ubuntu-control-center and cheese have to depend on libwayland-egl1

$ ldd /usr/lib/x86_64-linux-gnu/unity-control-center-1/panels/libuser-accounts.so | grep libwayland-egl
 libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007fd2cf3b9000)

giner@ginas-notebook:~$ ldd $(which cheese) | grep libwayland-egl
 libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f4551e9e000)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers