From b903a314d972fab19ad8f80e7eb5047a08bdf52c Mon Sep 17 00:00:00 2001 From: fr0sty Date: Tue, 29 Oct 2013 13:10:44 -0400 Subject: [PATCH] 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". --- INSTALL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index b8265951..9eea323a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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