[SOLVED] ./build mod_perl on Debian Lenny 64-bit

Yikes2000

Verified User
Joined
Jul 17, 2004
Messages
57
OS: Debian Lenny 64-bit

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:
Back
Top