You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Having said that: I guess you could always try to call ldconfig with stderr sent to /dev/null. If the user is root and we're not on Mac OS X, it will work as intended. If the user is not root or we're on Mac OS X, nothing breaks either.
On fresh installs of Ubuntu 14.04 and Ubuntu 16.04, building and installing libpagekite does not update the ld cache.
Manually running
ldconfig
aftermake 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
)The text was updated successfully, but these errors were encountered: