LightTable icon indicating copy to clipboard operation
LightTable copied to clipboard

Unable to run Light Table 0.4 (Linux64) on Ubuntu 13.04 (more libudev issues)

Open sherbondy opened this issue 13 years ago • 20 comments

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.

sherbondy avatar Apr 30 '13 16:04 sherbondy

Hooray, it now works after rebooting. Will keep investigating.

sherbondy avatar Apr 30 '13 17:04 sherbondy

It might be worth leaving this open for now as a beacon for others.

ibdknox avatar Apr 30 '13 17:04 ibdknox

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

jimparkins avatar May 01 '13 11:05 jimparkins

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.

YokoZar avatar May 10 '13 16:05 YokoZar

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...

AlexAti avatar May 27 '13 19:05 AlexAti

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

ryanprior avatar May 28 '13 20:05 ryanprior

Thanks, Ryan!

AlexAti avatar May 29 '13 12:05 AlexAti

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

maxkueng avatar Jun 07 '13 12:06 maxkueng

Similar for me. This is work on fedora 18 x32. Different path instead:/lib/libudev.so.1

d3flex avatar Jun 25 '13 14:06 d3flex

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.

savagejen avatar Aug 28 '13 19:08 savagejen

I confirm that this issue still exists. I have an almost fresh Ubuntu 13.04 and I'm having the libudev error.

bighi avatar Aug 30 '13 00:08 bighi

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.

miguno avatar Sep 01 '13 20:09 miguno

Same on Fedora 20 x64. Solved with:

sudo ln /usr/lib64/libudev.so.1 /usr/lib64/libudev.so.0

EstebanForge avatar Jan 10 '14 14:01 EstebanForge

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...

brianfay avatar Feb 13 '14 07:02 brianfay

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.

joshuafcole avatar Nov 04 '14 06:11 joshuafcole

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.

Cr0wb4r avatar Jan 08 '15 00:01 Cr0wb4r

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

learner010 avatar Jun 26 '15 06:06 learner010

@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?

kenny-evitt avatar Jun 26 '15 13:06 kenny-evitt

i downloaded the latest code 2 days ago and tried it. it threw the error above.

learner010 avatar Jun 28 '15 04:06 learner010

@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?

kenny-evitt avatar Jun 28 '15 05:06 kenny-evitt