stoken-dev / stoken

RSA SecurID-compatible software token for Linux/UNIX systems
http://stoken.sf.net
GNU Lesser General Public License v2.1
411 stars 78 forks source link

error while loading shared libraries: libstoken.so.1: cannot open shared object file: No such file or directory #45

Closed diegotrujillor closed 6 years ago

diegotrujillor commented 6 years ago

I followed all steps (even autogen.sh not included on instructions) and everything gone well, no errors in terminal during process.

However, when I try to execute the "stoken" command I get: "error while loading shared libraries: libstoken.so.1: cannot open shared object file: No such file or directory"

Any ideas here? I'm using Linux Debian 9 Stretch, kernel version: 4.9.0-6-amd64

cernekee commented 6 years ago

If you're executing stoken from within the source tree, you might have to run the ./.libs/stoken wrapper script rather than ./stoken.

If you run make install it should put the shared library in the right place. If that's the case, maybe check to see if /usr/local/lib is listed in /etc/ld.so.conf, and rerun ldconfig?

diegotrujillor commented 6 years ago

Thanks a lot men, I just have rerun ldconfig and everything goes well. selection_014