describe configuration of libsodium path

after failing the installation with described error, I needed some time to realize that there might be a problem with the custom path of libsodium installed by homebrew, needing manual configuration. Hope this saves some time for somebody.
This commit is contained in:
Marco Hoyer 2014-01-16 21:07:06 +01:00
parent 9fcb707ec4
commit db2a4073c5

View File

@ -112,6 +112,21 @@ autoreconf -i
make
make install
```
If execution fails with errors like "dyld: Library not loaded: /opt/tox-im/lib/libtoxcore.0.dylib", you may need to specify libsodium path:
Determine pathes:
```
brew list libsodium
```
Configure include and lib folder and build again:
```bash
./configure--with-libsodium-headers=/usr/local/Cellar/libsodium/0.4.5/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.4.5/lib/
make
make install
```
Advance configure options:
- --prefix=/where/to/install
- --with-libsodium-headers=/path/to/libsodium/include/