perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James B. Muir" <James.B.M...@hitchcock.org>
Subject libapreq2 build to /usr/lib64
Date Thu, 28 Apr 2011 15:51:31 GMT
Hello,

I am receiving the following message from Apache2 after installing libapreq2 and Apache2::Request:

/usr/sbin/apachectl -t
httpd: Syntax error on line 201 of /etc/httpd/conf/httpd.conf: Cannot load /etc/
httpd/modules/mod_apreq2.so into server: libapreq2.so.3: cannot open shared obje
ct file: No such file or directory

I think I'm getting this message because I'm having difficulties getting libapreq2 to install
to the /usr/lib64 directory. I'm running:

Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Kernel 2.6.18-238.5.1.el5 on an x86_64

Here is my build script:

# cat hdrs_config_libapreq2.sh
#!/bin/bash

cd /usr/local/src/libapreq2-2.13

env LDFLAGS="-L/usr/lib64 -R/usr/lib64 -lexpat" ./configure --with-apache2-apxs=
/usr/sbin/apxs --enable-perl-glue --with-perl=/usr/bin/perl

make &&
make test

When I issue the "make install" libapreq2 is installed in /usr/lib/ rather than /usr/lib64

# ls -lF /usr/lib/libapreq*
-rw-r--r-- 1 root root 342366 Apr 28 10:43 /usr/lib/libapreq2.a
-rwxr-xr-x 1 root root    993 Apr 28 10:43 /usr/lib/libapreq2.la*
lrwxrwxrwx 1 root root     18 Apr 28 10:43 /usr/lib/libapreq2.so -> libapreq2.so
.3.8.0*
lrwxrwxrwx 1 root root     18 Apr 28 10:43 /usr/lib/libapreq2.so.3 -> libapreq2.
so.3.8.0*
-rwxr-xr-x 1 root root 204072 Apr 28 10:43 /usr/lib/libapreq2.so.3.8.0*

So I think my build script needs something. What am I missing?
-James



IMPORTANT NOTICE REGARDING THIS ELECTRONIC MESSAGE:

This message is intended for the use of the person to whom it is addressed and may contain
information that is privileged, confidential, and protected from disclosure under applicable
law. If you are not the intended recipient, your use of this message for any purpose is strictly
prohibited. If you have received this communication in error, please delete the message and
notify the sender so that we may correct our records.

Mime
View raw message