cURL / Mailing Lists / curl-library / Single Mail

curl-library

Doubt in compiling curl

From: durgaprasad jammula <durgaprasad.jammula_at_gmail.com>
Date: Tue, 5 Jul 2005 20:13:43 +0530

Hi,
     Thanks for replying. I partially understood what you said. I have
seen those files, that you mentioned in your mail. But changing them
is not successful for me. Can you please tell me whether we can remove
the hardcoding of library paths from executables ?.

Thank you
Durga Prasad

On 7/5/05, Daniel Stenberg <daniel-curl_at_haxx.se> wrote:
> On Mon, 4 Jul 2005, durgaprasad jammula wrote:
>
> > But if i rename that temporary directory to someother name, it is saying
> > can't find the file or directory in <temporary.directory>/lib. From the
> > error, I understood that library path is hardcoded into executable.
>
> On most unix systems (those with shared library support), the default build
> makes 'src/curl' file a shell script that first sets up suitable environment
> variables for ld.so to make it find the just built libcurl shared library and
> then it invokes the _actual_ curl binary (in src/curl/.libs/curl).
>
> When you 'make install', it installs the files properly without that shell
> script magic. Or if you build configure --disable-shared the shell script
> stuff is never used either.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2005-07-05