Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while run apps #51

Open
liamlangli opened this issue Sep 1, 2017 · 1 comment
Open

error while run apps #51

liamlangli opened this issue Sep 1, 2017 · 1 comment

Comments

@liamlangli
Copy link

error while loading shared libraries: libsocket.so: cannot open shared object file: No such file or directory

i got this while run compiled example.
i'm sure libsocket.so was located at /usr/lib
this is my compile command.
gcc -Wall -g -std=gnu99 -L/usr/lib -lsocket http.c -o app
my system is centos 7,

@viocycling
Copy link

I have same problem while loading shared libraries, but after I excute sudo ldconfig everything goes well. You can have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants