cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to install curl in unix not as root

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 12 Nov 2000 14:32:47 +0100 (MET)

On Sat, 11 Nov 2000, clemensF wrote:

> > Installed Openssl and Curl in my local directories on a Unix machine. I
> > don't have permission to write in /usr ,/lib ...
> >
> > curl gives an error:
> > ld.so.1: curl: fatal: libcurl.so.0: open failed: No such file or directory
>
> find out in the dynamic library loader's man page ld(1) or so, which
> environment variable carries a load-path for .so files. it might me
> LD_LIBRARY_PATH or LD_RUN_PATH, and make it contain the directory name of
> where libcurl.so.0 is situated. like so:

An even better way, in my opinion is:

 ./configure --prefix=$HOME
 make
 make install

... this would install the binary in your $HOME/bin and the lib in $HOME/lib
and so on. It'll fix the binary to find the library automatically.

(you may need to remove config.cache if you re-run configure)

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-11-12