Page 1 of 1

XAMPP1.7.7 on WinXP, Attempt to reload DynaLoader.pm aborted

PostPosted: 21. February 2012 07:23
by r390gt1
I just installed the XAMPP 1.7.7 on a Windows XP SP3 PC, it failed to start the Apache

Attempt to reload DynaLoader.pm aborted.\n
Compilation failed in require at C:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\n
BEGIN failed--compilation aborted at C:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\n
Compilation failed in require at C:/xampp/perl/site/lib/Apache2/Const.pm line 18.\n
BEGIN failed--compilation aborted at C:/xampp/perl/site/lib/Apache2/Const.pm line 18.\n
Compilation failed in require at C:/xampp/apache/conf/extra/startup.pl line 9.\n
BEGIN failed--compilation aborted at C:/xampp/apache/conf/extra/startup.pl line 9.\n
Compilation failed in require at (eval 2) line 1.\n

Does anyone has a clue?

Re: XAMPP1.7.7 on WinXP, Attempt to reload DynaLoader.pm abo

PostPosted: 21. February 2012 09:05
by panco
:D
Just find out why.... It is because I installed the Oracle 10g on my PC and it set the PERL5LIB system environment variable. eg. PERL5LIB=c:\oracle\product\10.2.0\db_1\perl\5.8.3\lib ...........etc. As the Perl version is not compatible with one used by XAMPP 1.7.7 (eg. perl 5.10.1), it fails to load the DynaLoader.pm

one way to fix it is to un-set the PERL5LIB to <empty string> because start-up the Apache. (eg. PERL5LIB= )