cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Jun 2001 13:39:44 +0200 (MET DST)

On Tue, 12 Jun 2001, web4.hm - Peter Padberg wrote:

 Please direct future mails in this subject to the mailing list. It allows
others to join in and help, to share their ideas, contribute their suggestions
and spread their wisdom. Keeping discussions on public mailing lists also
allows for others to learn from this (both current and future users thanks to
the web based archives of the mailing list), thus saving me from having to
repeat myself even more. Thanks for respecting this.

> i want to install curl on my redhat-webserver, but i dont know if i make
> everything right.
>
> i extracted it to a folder: u/home/curl2
>
> and then i typed this on my shell:
> ./configure --with-apxs=/u/admin/httpd/bin/apxs
> then MAKE,
> and then MAKE INSTALL.
> with no fault.

--with-apxs is not an option curl's configure script cares about.

> after that i stopped my apache with kill.

Why?

> then i go to my php-folder and configured php with this:
>
> ./configure --with-apxs=/u/admin/httpd/bin/apxs
> --with-curl=/u/home/curl2/curl-7.8

Bad move. If you installed curl, you need to tell PHP's configure script
where to find the _installed_ curl related files. They're most likely not in
your /u/home/curl2/curl-7.8 directory.

> then i typed MAKE, and then MAKE INSTALL

And this worked?

I trust you used 'make' and 'make install'. Your misuse of caps in your
description makes me suspect you leave out other details as well...

> and when I want to start my webserver after the installing on my
> redhat-system there is coming a fault:
>
> [root_at_srv1 php-4.0.5]# /u/admin/httpd/bin/httpd -d /u/admin/httpd
> Syntax error on line 239 of /u/admin/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache-1.3.12/libphp4.so into server: libcurl.so.1: cannot
> open shared object file: No such file or directory
> [root_at_srv1 php-4.0.5]#
>
> when i configured php without curl there is everything okay.
>
> my http.conf is looking at the line 239 this:
> LoadModule setenvif_module /usr/lib/apache-1.3.12/mod_setenvif.so
> LoadModule php4_module /usr/lib/apache-1.3.12/libphp4.so
> <IfDefine SSL>
> LoadModule ssl_module /usr/lib/apache-1.3.12/libssl.so
> </IfDefine>
>
> do you have a tip for me?

Yes. Did you run ldconfig after you installed libcurl?

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
Received on 2001-06-12