July 2009 Archives

Wed Jul 29 2:03PM (2009)

SOLVED: Can't locate loadable object for module Apache::Symbol in @INC

The Problem, seen when building mod_perl: Entering directory `.../mod_perl-1.31/Symbol' cp Symbol.pm ../blib/lib/Apache/Symbol.pm perl5.10.0 /path/to/xsubpp -typemap .../ExtUtils/typemap Symbol.xs > Symbol.xsc && mv Symbol.xsc Symbol.c Can't locate loadable object for module Apache::Symbol in @INC (@INC contains: . $HOME/perl ...) at .../ExtUtils/ParseXS.pm line 8 Compilation failed in require at [...]

Cause: perl is trying to use Symbol, but getting it from pwd.

Solution: clear $PERL5LIB, that is, delete it from your environment. At the very least, remove "." (dot). $ env -u PERL5LIB make


Posted by Ed | Permanent link | File under: Linux