On fresh installs of Ubuntu 14.04 and Ubuntu 16.04, building and installing libpagekite does not update the ld cache.
$ pagekitec
pagekitec: error while loading shared libraries: libpagekite.so.1: cannot open shared object file: No such file or directory
$ ls /usr/local/lib/libpagekite.so*
/usr/local/lib/libpagekite.so /usr/local/lib/libpagekite.so.1.0.0
/usr/local/lib/libpagekite.so.1
$ sudo ldconfig
$ pagekitec
This is pagekitec.c from libpagekite 0.91.170301C.
[...]
Manually running ldconfig after make install fixes the problem.
This is apparently due to the Makefile calling libtool -n which builds symlinks as needed but skips updating the cache.
References:
I don't know if it is reasonable to try to fix this but perhaps it would be a good idea to document it (for example print a message from make install)
On fresh installs of Ubuntu 14.04 and Ubuntu 16.04, building and installing libpagekite does not update the ld cache.
Manually running
ldconfigaftermake installfixes the problem.This is apparently due to the Makefile calling
libtool -nwhich builds symlinks as needed but skips updating the cache.References:
I don't know if it is reasonable to try to fix this but perhaps it would be a good idea to document it (for example print a message from
make install)