TiddlyWiki / TiddlyDesktop

A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
1.7k stars 124 forks source link

Installation on Ubuntu #14

Open jsavage opened 10 years ago

jsavage commented 10 years ago

Downloaded Release 3 onto Ubuntu 13.10. Extracted to a new folder on my desktop. Nothing appeared to happen when I attempt to run nw. execute permission checked - already set. Opened terminal and executed ./nw on the command line.

./nw: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Let's see if I can find it

locate libudev.so.0 #turns nothing up

Libudev1 is already installed. Installed libudev-dev. No change.

Now out of ideas:-)

Jermolene commented 10 years ago

There are some known issues with node-webkit in this area:

https://groups.google.com/d/msg/tiddlywiki/koiOcyuBs18/a3Ck7ky-d9kJ

Does that help?

jsavage commented 10 years ago

Yes thanks. I was lazy and chose a variant of the 'leet' method. Effectively just changing one bit within the executable from 0 to 1. Took me back to my BBC programming days.

Hardest part was working out how to get ghex to play ball. There must be a more usable hexeditor out there.

Having saved it as nw2, I then needed to make it executable with chmod +X nw2 and it then executed as advertised. Let me know if you would like a copy of the working binary?

James

On 11 February 2014 13:13, Jeremy Ruston notifications@github.com wrote:

There are some known issues with node-webkit in this area:

https://groups.google.com/d/msg/tiddlywiki/koiOcyuBs18/a3Ck7ky-d9kJ

Does that help?

Reply to this email directly or view it on GitHubhttps://github.com/Jermolene/TiddlyDesktop/issues/14#issuecomment-34752647 .

<img src=" http://mystatus.skype.com/balloon/jdcsavage" style="border: none;" width="150" height="60" alt="My status" />
Get Skype and call me for free.

Jermolene commented 10 years ago

Thanks @jsavage. Until node-webkit fixes this, I guess the best we can do is to add clearer instructions to the readme, if you fancy having a go at a pull request?

jsavage commented 10 years ago

No probs

ghost commented 9 years ago

I had the same issue in Xubuntu 15.04 and creating a symbolic link worked for me.

sudo ln -sf /lib/$(arch)-linux-gnu/libudev.so.1 /lib/$(arch)-linux-gnu/libudev.so.0

Jermolene commented 8 years ago

Is there anything else to be done about this issue? Indeed, does it still occur with the latest release?

angelodag commented 7 years ago

Just tried on 16.04, problem is still there.

Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial

ldd nw linux-gate.so.1 => (0xf77dc000) librt.so.1 => /lib32/librt.so.1 (0xf77aa000) libdl.so.2 => /lib32/libdl.so.2 (0xf77a5000) libm.so.6 => /lib32/libm.so.6 (0xf7750000) libgobject-2.0.so.0 => not found libglib-2.0.so.0 => not found libnss3.so => not found libnssutil3.so => not found libsmime3.so => not found libplc4.so => not found libnspr4.so => not found libgconf-2.so.4 => not found libgio-2.0.so.0 => not found libfontconfig.so.1 => not found libfreetype.so.6 => not found libpangocairo-1.0.so.0 => not found libcairo.so.2 => not found libpango-1.0.so.0 => not found libX11.so.6 => not found libXi.so.6 => not found libXcursor.so.1 => not found libXext.so.6 => not found libXfixes.so.3 => not found libXrender.so.1 => not found libXcomposite.so.1 => not found libasound.so.2 => not found libXdamage.so.1 => not found libXtst.so.6 => not found libXrandr.so.2 => not found libexpat.so.1 => not found libdbus-1.so.3 => not found libpthread.so.0 => /lib32/libpthread.so.0 (0xf772d000) libgtk-x11-2.0.so.0 => not found libgdk-x11-2.0.so.0 => not found libgdk_pixbuf-2.0.so.0 => not found libnotify.so.4 => not found libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75b5000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7598000) libc.so.6 => /lib32/libc.so.6 (0xf73e4000) /lib/ld-linux.so.2 (0x565bf000)

andy-twosticks commented 7 years ago

Still happens (on Debian Jessie). The hex editor thing doesn't work for me (although I could have easily done it wrong) and I tried creating symlinks for a while but ran out of patience before it ran out of errors.