Ed Brown wrote:
I started with a standard Suse 9.0 on AMD Athlon. I built the current
versions of Apache and PHP from source, then perl. I'm getting an error
at dynaloader. I'm moderately knowledgeable in linux, but I don't know
how to resolve this. Can anyone give me a suggestion?

Ed, please submit a proper bug report, as explained here: http://perl.apache.org/bugs/


I configure mod_perl with perl Makefile.PL -Duse64bitint -Dusethreads
-Duseshrplib MP_APXS=/usr/local/apache2/bin/apxs -MP_INST_APACHE2=1 and
when I do make I get <snip> DynaLoader.a
-L/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE -lperl -lnsl -ldl -lm
-lcrypt -lutil -lc \ -o mod_perl.so /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.1/../../../../x86_64-suse-linux/bin/ld:
/usr/local/lib/perl5/5.8.5/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
relocation R_X86_64_32 can not be used when making a shared object;
recompile with -fPIC /usr/local/lib/perl5/5.8.5/x86_64-linux/auto/DynaLoader/DynaLoader.a:
could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [mod_perl.so] Error 1 make[1]: Leaving directory
`/usr/src/mod_perl-1.99_16/src/modules/perl' make: *** [modperl_lib]
Error 2

In addition, please post the output of

% which perl

and whether you have more than one perl installed on your system (which is
most likely the cause of your problem).

But even before you do that I'd try to download any CPAN module which has an XS extension, and try to build it first. For example:
http://search.cpan.org/~roode/Time-Format_XS-0.13/


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
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