Offer solution for "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory".

Offer solution for "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory".
This commit is contained in:
fr0sty 2013-10-29 13:10:44 -04:00
parent 2bdce93437
commit b903a314d9

View File

@ -54,6 +54,11 @@ make check
sudo make install
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:
```
sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
```
You also need recent [FFmpeg](http://git.videolan.org/?p=ffmpeg.git) libraries:
```bash