Skip to content

error while run apps #51

@liamlangli

Description

@liamlangli

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions