Cpponep API on Linux: example is not working


I’m trying to get the cpponep API working on my cross-compiler platform Ubuntu 14.04.
Following your guidelines on https://github.com/exosite-labs/cpponep I installed json and curl.
Building cpponep works without any failures, but starting the example with ./example fails.
It says: > error while loading shared libraries: libcurlpp.so.0: cannot open shared object file: no such file
I think, the libcurlpp was installed properly.
Any idea, what I need to do?
Thanks in advance.


Hi @Marc,

Personally am a bit unfamiliar with C++, and using that example on an Ubuntu machine, but I can give this my best shot.

Are you sure that libcurlpp has been linked properly? After a few short searches in Google, the consensus of other folks seems to be that the install script does not link the library your LD_LIBRARY_PATH.

What happens if you add /usr/local/lib to /etc/ld.so.conf, run ./sbin/ldconfig, and then compile the cpp example?



Hi Martin,

thank you. I’ve added
include /usr/local/lib
to my
and started

the shared library can be found now and the example works.

I’ve failed to see that in the guidelines. I’m sorry.


Glad to hear that it worked and you got it running!

No worries on the guidelines, that has tripped me up plenty of times.

Happy developing,