[doc] improve READMEs#6
Conversation
|
|
||
| ``` | ||
| OSError: liboprf.so.0: cannot open shared object file: No such file or directory | ||
| OSError: liboprf-noiseXK.so.0: cannot open shared object file: No such file or directory | ||
| ``` | ||
|
|
||
| To fix this, first create symbolic links: | ||
|
|
||
| ```bash | ||
| cd /path/to/liboprf/src | ||
| ln -s liboprf.so liboprf.so.0 | ||
| cd noise_xk | ||
| ln -s liboprf-noiseXK.so liboprf-noiseXK.so.0 | ||
| ``` | ||
|
|
||
| Then when running your Python code, use the LD_LIBRARY_PATH environment variable: | ||
|
|
||
| ```bash | ||
| LD_LIBRARY_PATH=/path/to/liboprf/src:/path/to/liboprf/src/noise_xk python your_script.py | ||
| ``` |
There was a problem hiding this comment.
This happened to me on Ubuntu. Maybe there's an easier fix?
There was a problem hiding this comment.
i suppose:
cd /path/to/liboprf/src
sudo PREFIX=/usr make install
ldconfigor on debian(-derivates) apt install liboprf0t64
There was a problem hiding this comment.
These don't work for me
|
love it! only a few questions that are actually about making the install process less problematic on some systems, but that is my responsibility, it only surfaced during the review. which is more than i expected. many thanks! so useful. <3 |
|
sorry for the late replies. my mail setup is interrupted by routing issues. |
I believe the problems on Ubuntu stemmed from not installing libsodium using apt. Maybe we just specify installing with apt and remove the Ubuntu-related troubleshooting? |
|



This PR improves the READMEs for both liboprf and pyoprf