Hi

I have one suggestion - as noted, ghex is not an easy package to use. I 
have been experimenting with various packages and have found an easier 
package to use called 'bless'. The instructions would then read:

1. install the package 'bless' -- with the package manager, synaptic or 
from the terminal

sudo apt-get install bless

2. load bless

3. open the 'nw' binary (file tab)

4. select find and replace (search tab)

5. search for "udev.so.0" and replace with "udev.so.1" -- set both fields 
to text 

6. save the edited 'nw' binary

and you're done.

regards



On Wednesday, April 9, 2014 6:08:21 PM UTC+2, Jeremy Ruston wrote:
>
> Thanks Matabele, on that basis I'll leave the readme alone,
>
> Best wishes
>
> Jeremy
>
>
>
> On Wed, Apr 9, 2014 at 4:51 PM, Matabele <[email protected]<javascript:>
> > wrote:
>
>> Hi
>>
>> The existing advice is fine -- but editing the binary with ghex is a 
>> little tricky. My quick and dirty fix is not strictly kosher (hence the 
>> "very very wrong" comment) as it redirects libudev.so.0 to libudev.so.1 
>> system wide. This could create instability in the system and should not be 
>> used for a multi-user system. On a personal computer, however, I see no 
>> problem with this fix provided you remember what you've done.
>>
>> Updating the readme.md is unnecessary as the existing fix works and 
>> avoids a system wide re-direct. I don't know if my quick and dirty fix 
>> should be added to the documentation. If added, it should contain a warning.
>>
>> regards
>>
>>
>> On Wednesday, April 9, 2014 4:41:08 PM UTC+2, Jeremy Ruston wrote:
>>
>>> Hi Matabele
>>>
>>> OK, I'm struggling a little to understand how to update the readme.mdfor 
>>> TiddlyDesktop to reflect the information that you're providing.
>>>
>>> > This is so very, very wrong.
>>>
>>> What's wrong? The existing advice in the readme?
>>>
>>> It would be incredibly helpful if you were able to prepare a pull 
>>> request for TiddlyDesktop/readme.md that captures the best advice?
>>>
>>> Many thanks
>>>
>>> Jeremy
>>>
>>>
>>>
>>> On Tue, Apr 8, 2014 at 4:00 PM, Matabele <[email protected]> wrote:
>>>
>>>> Hi
>>>>
>>>> Sorry, of course the paths to the libraries will also differ on other 
>>>> systems, for example:
>>>>
>>>>  "/lib/x86_64-linux-gnu/libudev.so.1" # Ubuntu, Xubuntu, Mint -- 64bit
>>>>  "/lib/i386-linux-gnu/libudev.so.1" # Ubuntu, Xubuntu, Mint -- 32bit
>>>>  "/usr/lib64/libudev.so.1" # SUSE, Fedora -- 64bit
>>>>
>>>>
>>>>  "/usr/lib/libudev.so.1" # Arch, Fedora 32bit
>>>>
>>>> A search for libudev.so.1 should locate the relevant library -- on Ubuntu:
>>>>
>>>> sudo locate libudev.so.1
>>>>
>>>> This is a hack -- some would prefer a more rigorous solution:
>>>>
>>>>
>>>> This is so very, very wrong. If you want libudev.so.0, you need to 
>>>>> download the source and build it, symlinking it to a lib with a different 
>>>>> ABI is just asking for trouble. 
>>>>>
>>>>
>>>> https://aur.archlinux.org/packages/libudev.so.0/ 
>>>>
>>>>
>>>> regards 
>>>>
>>>>
>>>>
>>>> On Tuesday, April 8, 2014 4:27:29 PM UTC+2, Matabele wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> Should work as a temporary fix for most of the new linux distros where 
>>>>> udev.so.0 has been replaced with udev.so.1
>>>>>
>>>>> The alternative is to compile node webkit from scratch (or to edit the 
>>>>> binary with ghex):
>>>>> https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0
>>>>>  
>>>>>
>>>>> <https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0%20>
>>>>>
>>>>> I think the static link fix is easier for most users and I don't see 
>>>>> this causing problems on the system (on some systems a root console is 
>>>>> preferred to sudo -- linux users should know this.)
>>>>>
>>>>> regards
>>>>>
>>>>> On Tuesday, April 8, 2014 12:29:14 PM UTC+2, Jeremy Ruston wrote:
>>>>>>
>>>>>> Hi Matabele
>>>>>>
>>>>>> Thanks for this. Would this solution work for all users? Should it 
>>>>>> replace the fix for #14 that is in the current TiddlyDesktop readme, and 
>>>>>> discussed on the ticket:
>>>>>>
>>>>>> https://github.com/Jermolene/TiddlyDesktop/issues/14
>>>>>>
>>>>>> Many thanks,
>>>>>>
>>>>>>  Jeremy
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 4, 2014 at 5:46 PM, Matabele <[email protected]> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Found this fix for TiddlyDesktop on Ubuntu based systems -- much 
>>>>>>> easier than editing the Node Webkit runtime:
>>>>>>>
>>>>>>> If you see this error:
>>>>>>>
>>>>>>> ./nw: error while loading shared libraries: libudev.so.0: cannot open 
>>>>>>> shared object file: No such file or directory
>>>>>>>
>>>>>>> Fix this on a 64-bit system:
>>>>>>>
>>>>>>> sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 
>>>>>>> /lib/x86_64-linux-gnu/libudev.so.0
>>>>>>>
>>>>>>> On a 32-bit system:
>>>>>>>
>>>>>>> sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 
>>>>>>> /lib/i386-linux-gnu/libudev.so.0
>>>>>>>
>>>>>>>
>>>>>>>  -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "TiddlyWiki" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Jeremy Ruston
>>>>>> mailto:[email protected]
>>>>>>  
>>>>>
>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:[email protected]
>>>  
>>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to