I’m currently having a hard time getting libapr2 with the Perl Module Apache2::Request and the Apache2 Module to run properly on a SLES (SuSE Linux Enterprise Server) 11 with a 64 bit kernel. I’m getting undefined symbols and missing libraries etc. I need that module for a network documentation tool called [[https://netdot.uoregon.edu/trac/|Netdot]]
I found out what to do and thought, that I should blog about this in case my mind fails the next time or anybody else has the same problem.
So. First, install the needed development packages (use the SDK-DVDs when neccessary or use online repositories like [[http://demeter.uni-regensburg.de/SLES11-SDK-x64/DVD1/]]):
Then, download the official release from the Apache download server [[http://httpd.apache.org/apreq/download.cgi]]. Don’t rely on CPAN here, because it simply doesn’t work. Download it to something like /usr/local/src, check the md5sum and extract it.
Skip the perl Makefile.PL now (all it does is run the configure with two parameters) and go to ./configure directly. Use these parameters: