cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Weird cookie files (Daniel Stenberg)

From: Dirk Manske <dm_at_nonitor.de>
Date: Sat, 12 Feb 2011 15:37:22 +0100

On Friday 11 February 2011 23:50:24 MigueL DíaZ wrote:
> So I guess this explains it all... Except why CentOS behaves that way when I
> just installed a fresh 7.21.3 this morning... sigh...
Call 'ldd yourprog' and see it uses the old curl libraries of your os.
This is a very common "problem".
You have to link with runpath set, e.g. (Makefile):

CURL=/path/to/curl
LDFLAGS=-Wl,--rpath -Wl,$(CURL)/lib -L$(CURL)/lib
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-12