cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: bugs in sample C code for fopen (again, with stack trace)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 4 May 2004 09:23:11 +0200 (CEST)

On Mon, 3 May 2004, Dickerson wrote:

> It appears that even though I "force" the library with the -L option, it is
> still using the system default (old version) library files. Once I get this
> fixed, I will report back.

-L is only used for link-time info, it doesn't set the path to use when the
library is loaded at run-time.

On Linux, the /etc/ld.so.conf file decides the search path for shared
libraries when you run a program. (Or you can use the ld option -r to set a
hard-coded path to look in at run-time.)

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-04