diff options
author | irungentoo <irungentoo@gmail.com> | 2015-07-13 21:17:46 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-07-13 21:17:46 -0400 |
commit | 6f8aab0919a7730119ceff52e972479ee7a2acff (patch) | |
tree | 98567c4131292c3c9f79836a0a59ad866eadc135 | |
parent | e7faa3284411232f5921b8aa75a7011a6676e8c3 (diff) | |
parent | 7b9142d2bbec3c15924f6f0bb587994dbe078075 (diff) |
Merge branch 'instructions' of https://github.com/zetok/toxcore
-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 | ``` |