Unable to run Light Table 0.4 (Linux64) on Ubuntu 13.04 (more libudev issues)
Hey Chris, Just downloaded the latest and greatest, did:
tar -xzvf /LightTableLinux64.tar.gz
mv LightTable/ /usr/local
cd /usr/local/LightTable
./LightTable
to test things out, but the process exited with the following output:
[11471:0430/122322:ERROR:zygote_host_impl_linux.cc(146)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
(LightTable:11471): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
[11471:0430/122322:INFO:gpu_info_collector_linux.cc(78)] NVCtrl extension does not exist.
As stated in the title, this is the 0.4.0 Linux64 binary running on Ubuntu 13.04.
For what it's worth, I've currently got my version of libudev, located in:
/usr/lib/x86_64-linux-gnu/libudev.so symlinked to /usr/lib/libudev.so.0
I'm guessing this all stems from: https://code.google.com/p/chromium/issues/detail?id=226002
The version of libudev that ships with Ubuntu 13.04 is 1.2.2, so it's understandable if there are incompatibilities.
I tried installing the libudev0 deb package linked to in the chromium issue thread and removing my old symlink, but the issue persists.
I'm sure this will be resolved further upstream soon enough, just a heads up.
Hooray, it now works after rebooting. Will keep investigating.
It might be worth leaving this open for now as a beacon for others.
sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
To get it working on ubuntu 13.04 i386 version
No need to install chromium, it seems like cheating by linking: sudo ln -s /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1 But it makes it launch at least. Perhaps you're only using parts of libudev that didn't change between 0 and 1 soname.
Hi,
Although making a simlink to the new version works, in older issues ( #161, #166), someone that knows more than me says that this is not a safe practice... it can end up breaking other parts of the system.
I don't know if it is technically possible, but perhaps the "for so.1 if so.0 does not exist" check could be done in Light Table? That way only LT will crash if something goes awry, and not other random things in my system. Plus it seems to work nicely with the newer API version...
I've been using this launch script to handle the issue. It lets you use a symlink in the LightTable directory instead of in your /lib folder, which ensures it will not screw up other applications on your system.
https://gist.github.com/anonymous/5665670
Thanks, Ryan!
On Linux Mint 15 64bit, I did this to get it to work:
sudo ln /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
Similar for me. This is work on fedora 18 x32. Different path instead:/lib/libudev.so.1
As of version 0.5.2, installed just this morning on a fresh ubuntu saucy box, this issue still seems to exist. I was able to resolve it using the fix listed by maxkueng above.
I confirm that this issue still exists. I have an almost fresh Ubuntu 13.04 and I'm having the libudev error.
On Linux Mint 15 64bit, I did this to get it to work: sudo ln /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
This worked for me, too (Linux Mint 15 64bit).
FWIW a symbolic link (ln -s) did not work.
Same on Fedora 20 x64. Solved with:
sudo ln /usr/lib64/libudev.so.1 /usr/lib64/libudev.so.0
I modified the startup script instead of creating a sym link. I changed FOLDERS="/lib /lib64 /lib/x86_64-linux-gnu /usr/lib /usr/lib/x86_64-linux-gnu"
to FOLDERS="/lib64 /lib /lib/x86_64-linux-gnu /usr/lib /usr/lib/x86_64-linux-gnu" I guess the script is checking for libudev.so.0 first, and if it can't find it it checks for libudev.so.1.
It uses whatever the first library it finds is - on my Fedora system this was libudev.so.1 in /lib. Really it needs libudev.so.1 in /lib64, so I'm making it check that directory first. I really don't understand the naming convention of the library...
I believe this issue is actually fixed now. Deleting the symlink and running LT appropriately regenerates a local symlink. The relevant code is in: https://github.com/LightTable/LightTable/blob/master/platform/linux64/LightTable#L12
I'm going to close this, but if anyone is still experiencing issues feel free to comment and I can reopen.
I am having this same problem. Light Table worked fine for me the first time I downloaded it. I enabled vim key bindings and it crashed on me. I have tried everything suggested in this thread, as well as building the latest git build. Still not working for me.
libudev.so.0 or libudev.so.1 not found in any of /lib64 /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib64 /usr/lib /lib.
I have installed libudev1, even tried linking at x86_64-linux-gnu but still not working
@jagledy @learner010 Are you seeing the exact same error message as the creator of this issue? Would you both trying building and running the atom-shell branch and confirming whether this is still an issue for that version?
i downloaded the latest code 2 days ago and tried it. it threw the error above.
@learner010 You downloaded the latest code from the atom-shell branch? Can you confirm that the libudev files do in fact exist in one of the locations mentioned in the error?