summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorMarco Hoyer <marco.hoyer@immobilienscout24.de>2014-01-16 21:07:06 +0100
committerMarco Hoyer <marco.hoyer@immobilienscout24.de>2014-01-16 21:07:06 +0100
commitdb2a4073c55bd1ae779b31382e634ba42f21d0ef (patch)
tree46a1d83c0071b4abed8a69dacc0a0b12fcf1a398 /INSTALL.md
parent9fcb707ec457b74f32ad48add5b93c0090c73f61 (diff)
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.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 81db3a45..82f5ef97 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -112,6 +112,21 @@ autoreconf -i
112make 112make
113make install 113make install
114``` 114```
115
116If execution fails with errors like "dyld: Library not loaded: /opt/tox-im/lib/libtoxcore.0.dylib", you may need to specify libsodium path:
117
118Determine pathes:
119```
120brew list libsodium
121```
122
123Configure include and lib folder and build again:
124```bash
125./configure--with-libsodium-headers=/usr/local/Cellar/libsodium/0.4.5/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.4.5/lib/
126make
127make install
128```
129
115Advance configure options: 130Advance configure options:
116 - --prefix=/where/to/install 131 - --prefix=/where/to/install
117 - --with-libsodium-headers=/path/to/libsodium/include/ 132 - --with-libsodium-headers=/path/to/libsodium/include/