mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'instructions' of https://github.com/zetok/toxcore
This commit is contained in:
commit
6f8aab0919
14
INSTALL.md
14
INSTALL.md
|
@ -60,7 +60,7 @@ On Fedora:
|
||||||
dnf groupinstall "Development Tools"
|
dnf groupinstall "Development Tools"
|
||||||
dnf install libtool autoconf automake check check-devel
|
dnf install libtool autoconf automake check check-devel
|
||||||
```
|
```
|
||||||
Using dnf install @"Development Tools" is also valid and slightly shorter / cleaner way, also @"Rpm Development Tools" would carry the remaining dependencies listed here.
|
Using ``dnf install @"Development Tools"`` is also valid and slightly shorter / cleaner way. ``@"Rpm Development Tools"`` would carry the remaining dependencies listed here.
|
||||||
|
|
||||||
On SunOS:
|
On SunOS:
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ pkg install net-im/tox
|
||||||
```
|
```
|
||||||
Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable.
|
Note, if you install from ports select NaCl for performance, and sodium if you want it to be portable.
|
||||||
|
|
||||||
**For A/V support, also install the dependences listed in the [libtoxav] (#libtoxav) section.**
|
**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`.
|
||||||
|
|
||||||
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):
|
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):
|
||||||
```bash
|
```bash
|
||||||
|
@ -103,12 +103,16 @@ sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
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:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
|
||||||
|
sudo ldconfig
|
||||||
```
|
```
|
||||||
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallibs.conf
|
|
||||||
|
|
||||||
OR in the event you have no locallibs.conf file run:
|
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``:
|
||||||
|
|
||||||
|
```bash
|
||||||
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf
|
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user