cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Compiling problems

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Oct 2003 15:52:27 +0100 (CET)

On Thu, 30 Oct 2003 jgarfield_at_rampid.com wrote:

> My OpenSSL was installed to /usr/local/lib which it says it uses as a
> default anyhow...Any idea how to tell Configure where to look? I tried
> exporting LD_LIBRARY_PATH...maybe I just didn't use the correct format for
> it?

Did you conclude that this is the reason for the failure on your machine?
config.log will tell you, check for the failing off_t check, and you'll soon
spot what kind of failure configure detected when it tried to determine the
size of that variable type.

On linux, you normally fix the run-time linker path by editing /etc/ld.so.conf
(and re-running ldconfig), not by editing the LD_LIBRARY_PATH variable.

Also, do note the difference between the link-time linker path and the
run-time linker path. configure detects your OpenSSL lib using the standard
link tool, but when it tries to RUN a program built to use those OpenSSL
libraries it links with, the run-time linker will do its own routine and
search for the libraries the program is said to require.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-10-30