cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: build error: curl-7.18.1 + c-ares-1.5.2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 7 Jun 2008 22:31:48 +0200 (CEST)

On Sat, 7 Jun 2008, ??? wrote:

> i am sorry, there are some mistake in my previous mail. it's not
> c-ares-1.5.2's fault.
>
> c-ares-1.5.2 has try to link clock_gettime() with -lrt, but curl-7.18.1 did
> not
>
> so , c-ares-1.5.2 configure ok, but curl-7.18.1 configure failed

Ah indeed! curl's configure didn't figure out what underlying libs c-ares
requires. Actually, it still doesn't do this right in the current code, but
since 7.18.2 curl too uses clock_gettime() so the problem gets hidden...

But there's also a problem in c-ares' configure script since libcares.pc
doesn't seem to get -lrt in the Libs: line.

-- 
  / daniel.haxx.se
Received on 2008-06-07