On 6/25/2010 4:54 PM, Dos Wizard wrote:
> Hello,
> 
> I can't make mod_perl to work with httpd-2.2.15
> While everything is ok, I get this annoying error whatever I had tried yet 
> (e.g. read the docs and follow the installation steps accurately)
> 
> Currenlty I am using a custom compiled Perl5.12.1 which had NO problems 
> during the installation (it had passed all the tests successfully), and so on 
> with additional modules, etc.
> 
> Now, when I try mod_perl I get this:
> 
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: 
> /usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a(apr_buckets_pool.o):
>  relocation R_X86_64_32S against `apr_bucket_type_heap' can not be used when 
> making a shared object; recompile with -fPIC 
> /usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a: could not read 
> symbols: Bad value collect2: ld returned 1 exit status

Recompile *PERL* -fPIC - it can't relocate the perl code.

Reply via email to