summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorZetok Zalbavar <zexavexxe@gmail.com>2015-07-12 16:58:49 +0100
committerZetok Zalbavar <zexavexxe@gmail.com>2015-07-12 17:05:40 +0100
commit7b9142d2bbec3c15924f6f0bb587994dbe078075 (patch)
tree35b883fb1886ddc01d9625ab6c6783d05baff83a /INSTALL.md
parent6f5d1a3b8e15a3d6feae2eec6a3cf28bdd53bce0 (diff)
INSTALL.md: some formatting improvements and fixes
Note that Fedora dependencies section still needs to be actually checked by someone who runs Fedora and would know whether info is right or not.
Diffstat (limited to 'INSTALL.md')
-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```