分类: LINUX
2009-04-23 23:29:45
|
|
|
|
|
chinaunix网友2009-05-29 21:47:35
我在Ubuntu下试了一下。 $ apt-file search libcurl.a libcurl4-gnutls-dev: /usr/lib/libcurl.a 所以只要安装 libcurl4-gnutls-dev 这个软件包就行了。
chinaunix网友2009-05-23 01:19:10
/usr/bin/ld: cannot find -lcurl 缺少相关的库文件,-lcurl 选项意味着 ld 要搜索 libcurl.a 或 libcurl.so 文件,在 Arch 下这两个文件是由 curl 这个软件包提供的,所以建议您检查一下 curl 是否已经正确安装了。
chinaunix网友2009-05-23 00:57:40
下载以后,需要自己编译安装,执行: $ make install 后得到 sendsms,执行 $ ./sendsms -? 查看用法。 压缩包自带了一个编译好的二进制文件(sendsms),如果自己编译通不过,可以试试它自带的那个。
chinaunix网友2009-05-18 23:45:57
高手,编译出现这情况是啥意思? make g++ sendsms.o lib/libfetion_32.a -lcurl -pthread -o sendsms /usr/bin/ld: cannot find -lcurl collect2: ld returned 1 exit status make: *** [sendsms] Error 1