söndag 11 december 2016

error while loading shared libraries: libtorrent.so.19

After compiling rtorrent on Ubuntu 16.04 I got the following error message:
rtorrent: error while loading shared libraries: libtorrent.so.19: cannot open shared object file: No such file or directory

The solution was to add the following to /etc/ld.so.conf
include /usr/local/lib

Then after doing that run
ldconfig

Source: Ubuntu Forums