OS: Debian Lenny 64-bit
I encountered these two problems while "./build mod_perl":
And here is the solution:
Follow the installation direction, append to /etc/httpd/conf/extra/httpd-includes.conf:
Restart Apache.
Helpful reference:
I encountered these two problems while "./build mod_perl":
************* WARNING *************
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/libgdbm.so.3.0.0
************* WARNING *************
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make: *** [modperl_lib] Error 2
And here is the solution:
# aptitude install libgdbm3
# cd /usr/local/lib
# ln -s /usr/lib/libgdbm.so.3 libgdbm.so
# ln -s /usr/lib/libperl.so.5.10 libperl.so
# cd /usr/local/directadmin/custombuild
# ./build mod_perl
Follow the installation direction, append to /etc/httpd/conf/extra/httpd-includes.conf:
LoadModule perl_module modules/mod_perl.so
Restart Apache.
Helpful reference:
Last edited: