error while loading shared libraries: libcurlpp.so.0: cannot open shared object file: No such file or directory
Problem
I was able to compile and link a program using curlpp, but I get this error:
error while loading shared libraries: libcurlpp.so.0: cannot open shared object file: No such file or directory
Solution
This will may only work in Ubuntu:
sudo bash -c "echo /usr/local/lib/ > /etc/ld.so.conf.d/local.conf"
sudo /sbin/ldconfig