Closed truedat101 closed 6 years ago
And the problem identified in #41 is that libsodium wrapper from demios doesn't provide a library prebuilt as it does for windows.
I think this is resolved. The LD_LIBRARY_PATH needs to be set. If you've installed libsodium already, you can find them under /usr/local/lib. So I would set export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Verified this works with gdc on linux.
@pedroalvesbatista please verify this works for you.
./shell-d: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory
From the readme: https://github.com/IoTone/TheShellProject/tree/proto2-dev/shell-d/prototype#building
For libsodium, if you have built libsodium, point your LD_LIBRARY_PATH to libsodium. For a default linux install of libsodium, it would be under /usr/local/lib typically. Set: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Can you confirm if you have LD_LIBRARY_PATH set?
ALL UNIT TEST RUN SUCCESSFULLY
I MIGHT TELL THATS A GREEN LIGHT, RIGHT ?
Ok, so this one is ok then.
Demios doesn't ship binaries, but building with autotools makes me want to cry because they are brittle and often just don't work everywhere. Either - prebuild for each supported platform (probably the answer) or switch to new build system.