Error while loading shared libraries - libwebsock
Posted
by
kittyPL
on Super User
See other posts from Super User
or by kittyPL
Published on 2013-11-05T20:57:15Z
Indexed on
2013/11/05
21:58 UTC
Read the original article
Hit count: 298
Im trying to setup libwebsock, simple C websocket library. I followed the installation procedure from INSTALL file, everything went fine. Im able to compile test program given in the examples. But when I want to run my executable, wild error appears:
./echo: error while loading shared libraries: libwebsock.so.1: cannot open shared object file: No such file or directory
I checked /usr/local/lib twice, libwebsock.so.1 exists and is doing very well. I also tried copying the lib to the echo folder (so its placed next to binary), still same error. It's quite funny for me:
shadowz@Ubu:~/WebSocket$ ls
echo echo.c echo.cpp libwebsock.so.1
shadowz@Ubu:~/WebSocket$ ./echo
./echo: error while loading shared libraries: libwebsock.so.1: cannot open shared object file: No such file or directory
Any suggestions? Im running out of ideas...
© Super User or respective owner