On Thu, Mar 24, 2011 at 7:25 AM, Robert D Oden <ro...@dbasetek.com> 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
============================== Matched: libapreq ===============================
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 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:  ro...@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.
>
>

Reply via email to