curl-loader installation from source on Centos 5.6

For those who are having problems installing curl-loader under Centos platforms please read this guide.

This guide applies to Centos 5.5 and 5.6 versions, 64-bit platforms.

Install the following packages:

yum install libevent libevent-devel

Download curl-loader from: http://sourceforge.net/projects/curl-loader/

replace in Makefile
OPENSSLDIR=$(shell $(CURDIR)/openssldir.sh)
to
OPENSSLDIR=/usr/lib64/openssl

Run with root user:

./configure
make
make install

If you are getting the following error:

curl-loader: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory

you are missing c-ares package..you can try to install from Centos yum repository:

yum install c-ares

or download source from: http://c-ares.haxx.se/

and curl-loader will be working perfectly. Enjoy!


Comments

  1. Eran says:

    I was trying to install your tool,
    I have unzipped the downloaded file in windows and scp it to my linux machine.

    Then I followed the orders here to:

    replace in Makefile
    OPENSSLDIR=$(shell $(CURDIR)/openssldir.sh)
    to
    OPENSSLDIR=/usr/lib64/openssl

    Note: ./configure was not recognized.
    Then I applied “make” command and this is what I get:

    patch -d curl -p1 < ../patches/curl-trace-info-error.patch
    tar: bzip2: Cannot exec: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    /bin/sh: line 1: patch: command not found
    make: *** [lib/libcurl.a] Error 127

Leave a Reply