summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-07-13 21:17:46 -0400
committerirungentoo <irungentoo@gmail.com>2015-07-13 21:17:46 -0400
commit6f8aab0919a7730119ceff52e972479ee7a2acff (patch)
tree98567c4131292c3c9f79836a0a59ad866eadc135
parente7faa3284411232f5921b8aa75a7011a6676e8c3 (diff)
parent7b9142d2bbec3c15924f6f0bb587994dbe078075 (diff)
Merge branch 'instructions' of https://github.com/zetok/toxcore
-rw-r--r--INSTALL.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 3ea67461..4168f9bc 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -60,7 +60,7 @@ On Fedora:
60dnf groupinstall "Development Tools" 60dnf groupinstall "Development Tools"
61dnf install libtool autoconf automake check check-devel 61dnf install libtool autoconf automake check check-devel
62``` 62```
63Using dnf install @"Development Tools" is also valid and slightly shorter / cleaner way, also @"Rpm Development Tools" would carry the remaining dependencies listed here. 63Using ``dnf install @"Development Tools"`` is also valid and slightly shorter / cleaner way. ``@"Rpm Development Tools"`` would carry the remaining dependencies listed here.
64 64
65On SunOS: 65On SunOS:
66 66
@@ -74,7 +74,7 @@ pkg install net-im/tox
74``` 74```
75Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable. 75Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable.
76 76
77**For A/V support, also install the dependences listed in the [libtoxav] (#libtoxav) section.** 77**For A/V support, also install the dependences listed in the [libtoxav](#libtoxav) section.** Note that you have to install those dependencies **before** compiling `toxcore`.
78 78
79You should get and install [libsodium](https://github.com/jedisct1/libsodium). If you have installed `libsodium` from repo, ommit this step, and jump directly to [compiling toxcore](#compile-toxcore): 79You should get and install [libsodium](https://github.com/jedisct1/libsodium). If you have installed `libsodium` from repo, ommit this step, and jump directly to [compiling toxcore](#compile-toxcore):
80```bash 80```bash
@@ -103,12 +103,16 @@ sudo make install
103cd .. 103cd ..
104``` 104```
105 105
106If your default prefix is /usr/local and you happen to get an error that says "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory", then you can try running ```sudo ldconfig```. If that doesn't fix it, run: 106If your default prefix is ``/usr/local`` and you happen to get an error that says ``"error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory"``, then you can try running ``sudo ldconfig``. If that doesn't fix it, run:
107
108```bash
109echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
110sudo ldconfig
107``` 111```
108echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallibs.conf
109 112
110OR in the event you have no locallibs.conf file run: 113You may run into a situation where there is no ``/etc/ld.so.conf.d`` directory. You could either create it manually, or append path to local library to ``ld.so.conf``:
111 114
115```bash
112echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf 116echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf
113sudo ldconfig 117sudo ldconfig
114``` 118```