On Tue, 13 Dec 2005, Ryan Perry wrote:

I'm having a problem  with apreq2.06:
Cannot load /usr/local/apache2/modules/mod_apreq2.so into server: /usr/local/apache2/modules/mod_apreq2.so: Undefined symbol "apreq_hook_find_param"

what did I do wrong?

Thanks!

First of all, you should show your httpd.conf, perl version, etc...
see here:

http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


Second, I would strongly suggest you use the SVN version of apreq - 2.06 has several known and fixed bugs.

To answer your question, you need to do:

install perl
./Configure -des -Dprefix=/home/pgollucci/perl
make all install

install httpd
./configure --with-prefix=/home/pgollucci/httpd/prefork \
        --with-mpm=prefork --with-expat=/usr/local \
        --enable-so
make all install

install mod_perl2
/home/pgollucci/perl/bin/perl5.8.7 Makefile.PL\
        MP_APXS=/home/pgollucci/httpd/prefork/bin/apxs
make all install

install apreq
/home/pgollucci/perl/bin/perl5.8.7 Makefile.PL\
        --with-apache2-apxs=/home/pgollucci/httpd/prefork/bin/apxs
        --with-expat=/usr/local
gmake all install

[note thats gmake]

in httpd.conf
add

LoadModule apreq_module modules/mod_apreq2.so

/home/pgollucci/httpd/prefork/bin/apachectl start
cat error_log

Apache/2.2.0 (Unix) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.7e-p1 mod_apreq2-20050712/2.5.6-dev mod_perl/2.0.2 Perl/v5.8.7




------------------------------------------------------------------------
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


Reply via email to