Hi, I have apache2 php5 and mysql all working, however I then want to have mod_perl compiled and installed with apache so i did perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MP_APR_CONFIG=/usr/local/apache/bin/apr-config

after doing make it errors near the end with
/usr/bin/ld: /usr/local/apache/lib/libapr-0.a(apr_snprintf.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/apache/lib/libapr-0.a: could not read symbols: Bad value
collect2: ld returned 1 exit status


How would I go about fixing this?

Also I compiled apache2 with

CFLAGS='-DEAPI' \
SSL_BASE=../openssl-0.9.7d \
./configure \
--with-mpm=worker \
--prefix=/usr/local/apache \
--enable-module=ssl \
--enable-shared=ssl \
--enable-module=rewrite \
--enable-shared=max \
--enable-module=so

here are the versions I used

httpd-2.0.50
mod_perl-1.99_16
mysql-4.0.20
openssl-0.9.7d
PHP-5.0.1

Im am new and have limited understanding of this but I have followed the docs to the best of my ability and still keep getting this problem any help would be greatly appreciated

Im new so if you require any more information , could you let me no what steps to take & I will glady do so. As I have nearly got everything installed that I need but perl has been the most hassle.
Regards
David


--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to