linux - C++ - shared library liblog4cpp.so.4 not found -


i tried run program requires log4cpp, got following error when try run program

error while loading shared libraries: liblog4cpp.so.4: cannot open shared object file: no such file or directory

i have set library path in $ld_library_path , these files in /usr/local/lib directory:

liblog4cpp.a     liblog4cpp.so      liblog4cpp.so.5.0.6  liblog4cpp.la   liblog4cpp.so.5    pkgconfig 

what problem here ?

thanks!

use ldd [program name] see what's loaded (assuming on unix system since use ld_library_path).


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -