Skip to content
Advertisement

error while loading shared libraries: libcapnp-0.5.3.so

I think this is a generic problem not specifically related to Cap’n Proto.

My project’s build succeeds but on run I get:

JavaScript

Maybe I am missing something in CMake?

JavaScript

I verified libcapnp-0.5.3.so exists in /usr/local/lib

I also tried adding:

JavaScript

Advertisement

Answer

/usr/local/lib needs to be added to /etc/ld.so.conf

then run sudo ldconfig to load the changes.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement