mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
9fcb707ec4
commit
db2a4073c5
15
INSTALL.md
15
INSTALL.md
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user