logo       

RE: [error] Can't locate loadable object on Apache start attempt: msg#00185

web.mason.user

Subject: RE: [error] Can't locate loadable object on Apache start attempt

According to http://perl.apache.org/docs/1.0/guide/troubleshooting.html
--

Can't locate loadable object for module XXX
There is no object built for this module. e.g. when you see:

Can't locate loadable object for module Apache::Util in @INC...
make sure to give mod_perl's Makefile.PL PERL_UTIL_API=1, EVERYTHING=1
or DYNAMIC=1 parameters to enable and build all the components of
Apache::Util.

I used "perl Makefile.PL EVERYTHING=1" to rebuild mod_perl. The first
time, I had used Active Perl's PPM utility to install mod_perl...
apparently that method is not as good as doing it manually.

Further problems subsequently appeared, but at least this one is solved.

Thanks, Andy

-----Original Message-----
From: mason-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:mason-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Andy
Stringer
Sent: Saturday, August 23, 2003 4:18 PM
To: mason-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Mason] [error] Can't locate loadable object on Apache start
attempt


I hope some helpful person out there has a quick fix for me... I was in
the process of installing Mason 1.22 on a Windows XP machine. Got
Apache and mod_perl installed successfully, no errors. I downloaded and
installed Mason, and apparently all the correct modules got installed in
C:\Perl\site\lib. As soon as I tried to put the following directives in
httpd.conf:

# Intalled Mason
PerlModule HTML::Mason::ApacheHandler
<Location />
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</Location>

I get the following error messages:

C:\Apache\Apache2\bin>apache -k start
[Sat Aug 23 13:54:16 2003] [error] Can't locate loadable object for
module Apach e::Constants in @INC (@INC contains: C:/Perl/lib
C:/Perl/site/lib . C:/Apache/Ap ache2/ C:/Apache/Apache2/lib/perl) at
C:/Perl/site/lib/mod_perl.pm line 14 Compilation failed in require at
C:/Perl/site/lib/HTML/Mason/ApacheHandler.pm li ne 13. BEGIN
failed--compilation aborted at
C:/Perl/site/lib/HTML/Mason/ApacheHandler.p
m line 13.
Compilation failed in require at (eval 1) line 3.

[Sat Aug 23 13:54:16 2003] [error] Can't load Perl module
HTML::Mason::ApacheHan dler for server SHASTA:80, exiting...

---
Andy Stringer
2213 226th Pl NE
Sammamish, WA 98074
(425) 868-4331



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Mason-users mailing list
Mason-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mason-users



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise