0

我在linux pangolin 12.04中运行client.c代码,安装了happycoders-libsocket,但仍然出现错误消息: /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status 请问我知道可以做什么请解决这个问题?

4

1 回答 1

1

如果你有在 Linux 上使用 BSD 套接字的 C 代码,那么你不需要链接额外的库;GLibC 通过libc.

于 2013-06-25T05:10:49.843 回答