cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cannot find -lcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 29 Dec 2011 21:20:39 -0800

On Fri, Dec 30, 2011 at 10:58:44AM +0800, Gabriel wrote:
> When I have already download the latest curl(7.23.1), and tried to
> compile the rtsp.c . There was an error: cannot find -lcurl.
> But in the makefile the path of libs is : LIBS = -L/usr/local/curl/lib
> -lcurl and in this path there are libcurl.a , libcurl.so , libcurl.so.4
> , libcurl.so.4.2.0 . So this problem has confused me , why this problem
> happened?

Perhaps the files there aren't compatible with the compiler you're using
for rtsp.c, or the permissions are not correct. What is the command you're
using to link?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-30