diff options
author | Zetok Zalbavar <zexavexxe@gmail.com> | 2015-07-12 16:58:49 +0100 |
---|---|---|
committer | Zetok Zalbavar <zexavexxe@gmail.com> | 2015-07-12 17:05:40 +0100 |
commit | 7b9142d2bbec3c15924f6f0bb587994dbe078075 (patch) | |
tree | 35b883fb1886ddc01d9625ab6c6783d05baff83a /INSTALL.md | |
parent | 6f5d1a3b8e15a3d6feae2eec6a3cf28bdd53bce0 (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.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -60,7 +60,7 @@ On Fedora: | |||
60 | dnf groupinstall "Development Tools" | 60 | dnf groupinstall "Development Tools" |
61 | dnf install libtool autoconf automake check check-devel | 61 | dnf install libtool autoconf automake check check-devel |
62 | ``` | 62 | ``` |
63 | Using dnf install @"Development Tools" is also valid and slightly shorter / cleaner way, also @"Rpm Development Tools" would carry the remaining dependencies listed here. | 63 | Using ``dnf install @"Development Tools"`` is also valid and slightly shorter / cleaner way. ``@"Rpm Development Tools"`` would carry the remaining dependencies listed here. |
64 | 64 | ||
65 | On SunOS: | 65 | On SunOS: |
66 | 66 | ||
@@ -74,7 +74,7 @@ pkg install net-im/tox | |||
74 | ``` | 74 | ``` |
75 | Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable. | 75 | Note, 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 | ||
79 | You 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): | 79 | You 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 | |||
103 | cd .. | 103 | cd .. |
104 | ``` | 104 | ``` |
105 | 105 | ||
106 | If 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: | 106 | If 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 | ||
109 | echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf | ||
110 | sudo ldconfig | ||
107 | ``` | 111 | ``` |
108 | echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallibs.conf | ||
109 | 112 | ||
110 | OR in the event you have no locallibs.conf file run: | 113 | You 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 | ||
112 | echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf | 116 | echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf |
113 | sudo ldconfig | 117 | sudo ldconfig |
114 | ``` | 118 | ``` |