On 05/23/2018 06:28 AM, Amit Malav wrote:
Hi Paul and Tom, Thanks a ton for helping out. I have almost made my setup work. I try to install libseccomp using release tarball (libseccomp-2.3.3.tar.gz) https://github.com/seccomp/libseccomp/releases But even after successful installation, I run into following error at runtime: "error while loading shared libraries: libseccomp.so.2: cannot open shared object file: No such file or directory" I did following to install ./configure make make install Is there any build time configuration that i might be missing. This i don't encounter when I install libseccomp from debian package using apt-get.
By default, "make install" will install your custom-built libseccomp libraries to /usr/local/lib. But ldconfig doesn't load libraries located in this location by default. (Note your distribution may vary.) Here's one way to fix this. Run the following as root: cd /etc/ld.so.conf.d/ echo "/usr/local/lib" > usr-lib-local.conf ldconfig After the above ldconfig command, your program should now be able to utilize your custom libseccomp build. Regards. Tom -- You received this message because you are subscribed to the Google Groups "libseccomp" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
