Trouble Installing Apache2::Request on Centos 5.5
Trouble Installing Apache2::Request on Centos 5.5
am 24.03.2011 15:25:02 von Robert D Oden
I have been struggling with getting Apache2::Request (libapreq2-2.13) to
run on Centos 5.5.
Apache was installed during OS install.
Apache2::Request was downloaded, built, tested, and installed successfully.
perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
All dependencies satisfied.
httpd_devel and mod_per_devel installed.
LoadModule apreq_module modules/mod_apreq2.so added to httpd.conf file.
Below is the error I am getting when trying to start Apache (apachectl
start).
httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot
load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3:
cannot open shared object file: No such file or directory
I have compared this install to another machine that has
Apache2::Request installed on Centos 5.2. It appears that I have all the
right files in all the right places.
I must be missing something somewhere. Any help would be greatly
appreciated.
Thanks in advance.
--
Robert (Doug) Oden
President
951 Locust Hill Circle
Belton MO 64012
Tel: 816-318-8840
Fax: 816-318-8842
Email: roden@dbasetek.com
CONFIDENTIALITY NOTICE: The information and any attachments in this
e-mail are privileged, confidential, subject to copyright and intended
solely for the use of the individual(s) or entity named above. Any
unauthorized use, copying, review or disclosure is strictly prohibited.
Views expressed are those of the user and not necessarily those of
Database Marketing Technologies, Inc. If you are not the intended
recipient, you are hereby notified that any review, retransmission,
conversion to hard copy, copying, circulation or other use of this
message is strictly prohibited and may be illegal. If you have received
this message in error, please notify the sender immediately and delete
the material from your database.
Re: Trouble Installing Apache2::Request on Centos 5.5
am 24.03.2011 15:40:17 von aw
Robert D Oden wrote:
....
>
> httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot
> load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3:
> cannot open shared object file: No such file or directory
>
The above should give you the key, no ?
Do you really have *both* these files where it is looking for them ?
On one of my system (Debian, not Centos), I have :
LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
and the files :
/usr/lib/apache2/modules/mod_apreq2.so
/usr/lib/libapreq2.so.3 --> /usr/lib/libapreq2.so.3.6.0
RE: Trouble Installing Apache2::Request on Centos 5.5
am 24.03.2011 16:10:12 von morten.bjornsvik
Hi Robert
Our automatic installer have the following paramerters for the =
libapreq2.13 line:
$PERL_BIN=3D/opt/perl/bin/perl
$APXS_BIN=3D/opt/apache/bin/apxs
$APACHE_DIR=3D/opt/apache
:
Apache2::Request 2.13 libapreq2-2.13.tar.gz =
downloaded_201012171512 "$PERL_BIN Makefile.PL \
--with-apache2-apxs=3D$APXS_BIN --with-perl=3D$PERL_BIN --enable-lib64 =
--with-expat=3D$APACHE_DIR"
Just expand column5 (inside the doublequotes) with the paths that fits =
your system.
# cat /etc/redhat-release
CentOS release 5.5 (Final)
# cd /opt/perl/lib/site_perl/5.12.2/x86_64-linux/Apache2/
# fgrep -rn 'VERSION' Request.pm
6:our $VERSION =3D "2.13";
--
MortenB
-----Original Message-----
From: Robert D Oden [mailto:roden@dbasetek.com]=20
Sent: 24. mars 2011 15:25
To: modperl@perl.apache.org
Subject: Trouble Installing Apache2::Request on Centos 5.5
I have been struggling with getting Apache2::Request (libapreq2-2.13) to =
run on Centos 5.5.
Apache was installed during OS install.
Apache2::Request was downloaded, built, tested, and installed =
successfully.
perl Makefile.PL --with-apache2-apxs=3D/usr/sbin/apxs
All dependencies satisfied.
httpd_devel and mod_per_devel installed.
LoadModule apreq_module modules/mod_apreq2.so added to httpd.conf file.
Below is the error I am getting when trying to start Apache (apachectl=20
start).
httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot=20
load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3:=20
cannot open shared object file: No such file or directory
I have compared this install to another machine that has=20
Apache2::Request installed on Centos 5.2. It appears that I have all the =
right files in all the right places.
I must be missing something somewhere. Any help would be greatly=20
appreciated.
Thanks in advance.
--=20
Robert (Doug) Oden
President
951 Locust Hill Circle
Belton MO 64012
Tel: 816-318-8840
Fax: 816-318-8842
Email: roden@dbasetek.com
CONFIDENTIALITY NOTICE: The information and any attachments in this
e-mail are privileged, confidential, subject to copyright and intended
solely for the use of the individual(s) or entity named above. Any
unauthorized use, copying, review or disclosure is strictly prohibited.
Views expressed are those of the user and not necessarily those of
Database Marketing Technologies, Inc. If you are not the intended
recipient, you are hereby notified that any review, retransmission,
conversion to hard copy, copying, circulation or other use of this
message is strictly prohibited and may be illegal. If you have received
this message in error, please notify the sender immediately and delete
the material from your database.
Re: Trouble Installing Apache2::Request on Centos 5.5
am 24.03.2011 17:32:54 von Alexander Goller
Hi,
find out why libapreq2.so.3 is not existing. It usually links to the
library file with the full version number (and maybe you should check if
the linker knows about the lib), maybe you just forgot to run ldconfig?
cheers, alex
On 03/24/2011 03:25 PM, Robert D Oden wrote:
> I have been struggling with getting Apache2::Request (libapreq2-2.13)
> to run on Centos 5.5.
>
> Apache was installed during OS install.
>
> Apache2::Request was downloaded, built, tested, and installed
> successfully.
>
> perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> All dependencies satisfied.
> httpd_devel and mod_per_devel installed.
> LoadModule apreq_module modules/mod_apreq2.so added to httpd.conf file.
>
> Below is the error I am getting when trying to start Apache (apachectl
> start).
>
> httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot
> load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3:
> cannot open shared object file: No such file or directory
>
> I have compared this install to another machine that has
> Apache2::Request installed on Centos 5.2. It appears that I have all
> the right files in all the right places.
>
> I must be missing something somewhere. Any help would be greatly
> appreciated.
>
> Thanks in advance.
>
Re: Trouble Installing Apache2::Request on Centos 5.5
am 25.03.2011 02:44:08 von Fred Moyer
On Thu, Mar 24, 2011 at 7:25 AM, Robert D Oden wrote:
> I have been struggling with getting Apache2::Request (libapreq2-2.13) to =
run
> on Centos 5.5.
>
> Apache was installed during OS install.
It sounds like you installed Apache and mod_perl via rpm or yum. Try
installing libapreq2 via yum also. Also make sure that you haven't
installed apache or mod_perl from source on that machine. You can mix
and match rpms and source builds, but you have to have fun environment
variables such as LD_LIBRARY_PATH set correctly.
yum search libapreq
==================== =====3D=
=====3D Matched: libapreq =============3D=
==================
libapreq2-devel.i686 : Development files for libapreq2
libapreq2.i686 : Apache HTTP request library
perl-libapreq2.i686 : Perl interface to the Apache HTTP request library
>
> Apache2::Request was downloaded, built, tested, and installed successfull=
y.
>
> perl Makefile.PL --with-apache2-apxs=3D/usr/sbin/apxs
> All dependencies satisfied.
> httpd_devel and mod_per_devel installed.
> LoadModule apreq_module modules/mod_apreq2.so added to httpd.conf file.
>
> Below is the error I am getting when trying to start Apache (apachectl
> start).
>
> httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot loa=
d
> /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3: cannot open
> shared object file: No such file or directory
>
> I have compared this install to another machine that has Apache2::Request
> installed on Centos 5.2. It appears that I have all the right files in al=
l
> the right places.
>
> I must be missing something somewhere. Any help would be greatly
> appreciated.
>
> Thanks in advance.
>
> --
> Robert (Doug) Oden
> President
> 951 Locust Hill Circle
> Belton MO 64012
>
> Tel: =A0 =A0816-318-8840
> Fax: =A0 =A0816-318-8842
> Email: =A0roden@dbasetek.com
>
> CONFIDENTIALITY NOTICE: The information and any attachments in this
> e-mail are privileged, confidential, subject to copyright and intended
> solely for the use of the individual(s) or entity named above. Any
> unauthorized use, copying, review or disclosure is strictly prohibited.
> Views expressed are those of the user and not necessarily those of
> Database Marketing Technologies, Inc. If you are not the intended
> recipient, you are hereby notified that any review, retransmission,
> conversion to hard copy, copying, circulation or other use of this
> message is strictly prohibited and may be illegal. If you have received
> this message in error, please notify the sender immediately and delete
> the material from your database.
>
>