zedapp / zed

Rethinking code editing.
http://zedapp.org
MIT License
2.22k stars 161 forks source link

Zed will not launch on my Linux comp #571

Closed ryanpcmcquen closed 8 years ago

ryanpcmcquen commented 8 years ago
ry@~:$ mkdir test
ry@~:$ cd test/
ry@~/test:$ wget http://download.zedapp.org/zed-linux64-v1.1.0.tar.gz
--2015-10-24 09:44:05--  http://download.zedapp.org/zed-linux64-v1.1.0.tar.gz
Resolving download.zedapp.org (download.zedapp.org)... 54.231.12.140
Connecting to download.zedapp.org (download.zedapp.org)|54.231.12.140|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38606326 (37M) [application/gzip]
Saving to: ‘zed-linux64-v1.1.0.tar.gz’

100%[=====================================================================================================================================================================================================================================>] 38,606,326  5.85MB/s   in 7.6s   

2015-10-24 09:44:13 (4.87 MB/s) - ‘zed-linux64-v1.1.0.tar.gz’ saved [38606326/38606326]

ry@~/test:$ tar xf zed-linux64-v1.1.0.tar.gz 
ry@~/test:$ cd zed
ry@~/test/zed:$ ./zed
ry@~/test/zed:$ 

Nothing happens, no errors, no window, no nothin'. Am I missing something easy?

ryanpcmcquen commented 8 years ago

Aha, when launching zed-bin I saw this:

ry@~/test/zed:$ ./zed-bin 
./zed-bin: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

Quick fix without polluting system libs:

ry@~/test/zed:$ ln -sf /usr/lib64/libudev.so ./libudev.so.1
ry@~/test/zed:$ LD_LIBRARY_PATH=./ ./zed
Checking for update 
Current version 1.1.0 new version 1.1.0 
No upgrade required 
Attempting to connect to wss://remote.zedapp.org:443/editorsocket 
Connected to zedrem server! 
Ping 
Got pong 
Ping 
Got pong 
ry@~/test/zed:$ 

All is well!