diff options
author | Marco Hoyer <marco.hoyer@immobilienscout24.de> | 2014-01-16 21:07:06 +0100 |
---|---|---|
committer | Marco Hoyer <marco.hoyer@immobilienscout24.de> | 2014-01-16 21:07:06 +0100 |
commit | db2a4073c55bd1ae779b31382e634ba42f21d0ef (patch) | |
tree | 46a1d83c0071b4abed8a69dacc0a0b12fcf1a398 /INSTALL.md | |
parent | 9fcb707ec457b74f32ad48add5b93c0090c73f61 (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.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -112,6 +112,21 @@ autoreconf -i | |||
112 | make | 112 | make |
113 | make install | 113 | make install |
114 | ``` | 114 | ``` |
115 | |||
116 | If execution fails with errors like "dyld: Library not loaded: /opt/tox-im/lib/libtoxcore.0.dylib", you may need to specify libsodium path: | ||
117 | |||
118 | Determine pathes: | ||
119 | ``` | ||
120 | brew list libsodium | ||
121 | ``` | ||
122 | |||
123 | Configure 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/ | ||
126 | make | ||
127 | make install | ||
128 | ``` | ||
129 | |||
115 | Advance configure options: | 130 | Advance 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/ |