I can’t get insync to run unless I set LD_LIBRARY_PATH to a location in /nix/store. How can I fix this? ( Is this because I’m using nix on Ubuntu instead of from nixos? )
I installed insync ( insync-188.8.131.52371 ). When run, it complains about missing algorithms:
$ insync start
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File “hashlib.py”, line 139, in
File “hashlib.py”, line 91, in __get_builtin_constructor
It looked like it was not finding a library. I ended up trying to adapt the methods described in a stack exchange: Different methods to run a non-nixos executable on Nixos.
LD_LIBRARY_PATH=/nix/store/9nx4cqcsg24c7h53ssrsgni7s876r6rz-insync-184.108.40.206371/client insync start
Then it ‘works’. I just guessed at using the */client dir since it contained lots of .so’s.
Is this something to do with my using nix on Ubuntu instead of NixOS?