You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by jayakrishnan iyer <jv...@gmail.com> on 2007/02/21 22:47:44 UTC
modperl installation issues + Can't load APR.so
hi everyone,
I have installed apache 2.2.4 on my computer and am trying to install mod
perl 2.0.3, but have been running into some issues.
To be specific I am having issues loading APR.so duiring the "make test"
phase of the installation. Due to this statements such as
use APR;
use APR:Pool ();
refuse to work and hence show compilation problems.
The following code snippet gives the details of the error
t/apr-ext/base64.............. ..........Can't load
'/usr/local/src/mod_perl- 2.0.3/blib/arch/auto/APR/APR.so' for module APR:
libaprutil-1.so.0: cannot open shared object file: No such file or directory
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at /usr/local/src/mod_perl- 2.0.3/blib/lib/APR/Base64.pm line 23
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Base64.pm
line 23.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Base64.pm
line 23.
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/base64.pm
line 11.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/base64.pm
line 11.
Compilation failed in require at t/apr-ext/base64.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/base64.t line 7.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/brigade.......................Can't load '/usr/local/src/mod_perl-
2.0.3/blib/arch/auto/APR/APR.so' for module APR: libaprutil-1.so.0: cannot
open shared object file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at /usr/local/src/mod_perl- 2.0.3/blib/lib/APR/Pool.pm line 23
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Pool.pm
line 23.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Pool.pm
line 23.
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/brigade.pm
line 14.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/brigade.pm
line 14.
Compilation failed in require at t/apr-ext/brigade.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 7.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/bucket........................Can't load '/usr/local/src/mod_perl-
2.0.3/blib/arch/auto/APR/APR.so' for module APR: libaprutil-1.so.0: cannot
open shared object file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at /usr/local/src/mod_perl- 2.0.3/blib/lib/APR/Brigade.pm line 23
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Brigade.pm
line 23.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Brigade.pm
line 23.
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/t/lib/TestCommon/Utils.pm
line 6.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/t/lib/TestCommon/Utils.pm
line 6.
Compilation failed in require at /usr/local/src/mod_perl-
2.0.3/t/lib/TestAPRlib/bucket.pm
line 10.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/bucket.pm
line 10.
Compilation failed in require at t/apr-ext/bucket.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 7.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/apr-ext/date..........................Can't load '/usr/local/src/mod_perl-
2.0.3/blib/arch/auto/APR/APR.so' for module APR: libaprutil-1.so.0 : cannot
open shared object file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at /usr/local/src/mod_perl-2.0.3/blib/lib/APR/Date.pm line 23
Compilation failed in require at /usr/local/src/mod_perl-
2.0.3/blib/lib/APR/Date.pm
line 23.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/blib/lib/APR/Date.pm
line 23.
Compilation failed in require at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/date.pm
line 11.
BEGIN failed--compilation aborted at
/usr/local/src/mod_perl-2.0.3/t/lib/TestAPRlib/date.pm
line 11.
Compilation failed in require at t/apr-ext/date.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/date.t line 7.
This finally results in,
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/api/server_const.t 3 1 3
t/apr-ext/base64.t 255 65280 ?? ?? ??
t/apr-ext/brigade.t 255 65280 ?? ?? ??
t/apr-ext/bucket.t 255 65280 ?? ?? ??
t/apr-ext/date.t 255 65280 ?? ?? ??
t/apr-ext/error.t 255 65280 ?? ?? ??
t/apr-ext/finfo.t 255 65280 ?? ?? ??
t/apr-ext/os.t 255 65280 ?? ?? ??
t/apr-ext/pool.t 255 65280 ?? ?? ??
t/apr-ext/status.t 255 65280 ?? ?? ??
t/apr-ext/string.t 255 65280 ?? ?? ??
t/apr-ext/table.t 255 65280 ?? ?? ??
t/apr-ext/threadmutex.t 255 65280 ?? ?? ??
t/apr-ext/uri.t 255 65280 ?? ?? ??
t/apr-ext/util.t 255 65280 ?? ?? ??
t/apr-ext/uuid.t 255 65280 ?? ?? ??
t/apr/constants.t 255 65280 ?? ?? ??
16 tests and 13 subtests skipped.
Failed 17/236 test scripts. 1/2256 subtests failed.
Files=236, Tests=2256, 309 wallclock secs (187.26 cusr + 109.07 csys =
296.33 CPU)
Failed 17/236 test programs. 1/2256 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
Any help in this regard would be highly appreciated
Jay
--
"You have no responsibility to live up to what other people think you ought
to accomplish" - Richard Feynman
"The things we know best are the things we haven't been taught."
- Marquis de Vauvenargues
Re: modperl installation issues + Can't load APR.so
Posted by jayakrishnan iyer <jv...@gmail.com>.
Thanks for the reply. I looked that up previously and found it installed as
a shared object in my library as a part of my apache 2.2.4 installation. I
guess it should be able to find it as I've supplied the path to the apache
directory during Makefile generation. Do I have to set (or export) a path
variable such as LD_LIBRARY_PATH? Need some input on this
jay
On 2/21/07, tomas@tuxteam.de <to...@tuxteam.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Feb 21, 2007 at 03:47:44PM -0600, jayakrishnan iyer wrote:
> > hi everyone,
> >
> > I have installed apache 2.2.4 on my computer and am trying to install
> mod
> > perl 2.0.3, but have been running into some issues.
> > To be specific I am having issues loading APR.so duiring the "make test"
> > phase of the installation. Due to this statements such as
> > use APR;
> > use APR:Pool ();
> > refuse to work and hence show compilation problems.
> > The following code snippet gives the details of the error
> >
> > t/apr-ext/base64.............. ..........Can't load
> > '/usr/local/src/mod_perl- 2.0.3/blib/arch/auto/APR/APR.so' for module
> APR:
> > libaprutil-1.so.0: cannot open shared object file: No such file or
> directory
>
> [...]
>
> It seems to me that this last line is at the root of your problem. The
> i(binary part of) Perl's APR needs libaprutil.so and doesn't find it --
> is it installed on your computer? (it is part of the Apache
> installation, and depending on your operating system there are different
> possibilities to have it installed).
>
> HTH
> - -- tomás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFF3SsrBcgs9XrR2kYRAq1iAJ0VzTLjenVdviRFTf8VER9O9Gv8TgCfXVIY
> oG+TQHZ1/I6hpX8DYJBzqcw=
> =uOSM
> -----END PGP SIGNATURE-----
>
>
--
"You have no responsibility to live up to what other people think you ought
to accomplish" - Richard Feynman
"The things we know best are the things we haven't been taught."
- Marquis de Vauvenargues
Re: modperl installation issues + Can't load APR.so
Posted by to...@tuxteam.de.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Feb 21, 2007 at 03:47:44PM -0600, jayakrishnan iyer wrote:
> hi everyone,
>
> I have installed apache 2.2.4 on my computer and am trying to install mod
> perl 2.0.3, but have been running into some issues.
> To be specific I am having issues loading APR.so duiring the "make test"
> phase of the installation. Due to this statements such as
> use APR;
> use APR:Pool ();
> refuse to work and hence show compilation problems.
> The following code snippet gives the details of the error
>
> t/apr-ext/base64.............. ..........Can't load
> '/usr/local/src/mod_perl- 2.0.3/blib/arch/auto/APR/APR.so' for module APR:
> libaprutil-1.so.0: cannot open shared object file: No such file or directory
[...]
It seems to me that this last line is at the root of your problem. The
i(binary part of) Perl's APR needs libaprutil.so and doesn't find it --
is it installed on your computer? (it is part of the Apache
installation, and depending on your operating system there are different
possibilities to have it installed).
HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFF3SsrBcgs9XrR2kYRAq1iAJ0VzTLjenVdviRFTf8VER9O9Gv8TgCfXVIY
oG+TQHZ1/I6hpX8DYJBzqcw=
=uOSM
-----END PGP SIGNATURE-----