FAQ
Dear mod_perl team,
I've recently tried to build mod_perl library on my Solaris 10 server and I've got some test errors.

My initial configuration is the following:


- Solaris 10 (x86):

                     Oracle Solaris 10 1/13 s10x_u11wos_24a X86
   Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
                             Assembled 17 January 2013


- Apache 2.4.9: downloaded from UnixPackages (built with GCC 3.4.6)


- Perl 5.20.0: built from sources using GCC 3.4.6 and configured with:

o PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

o LD_LIBRARY_PATH=/usr/local/lib

o LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

o ./Configure -des -A ccflags="-fPIC" -Dcc='/usr/local/bin/gcc -B/usr/local/bin/' -Dusethreads -Duseshrplib

Summary of my perl5 (revision 5 version 20 subversion 0) configuration:

   Platform:
     osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
     uname='sunos jasper01 5.10 generic_147148-26 i86pc i386 i86pc solaris '
     config_args='-des -A ccflags=-fPIC -Dcc=/usr/local/bin/gcc -B/usr/local/bin/ -Dusethreads -Duseshrplib'
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=define, usemultiplicity=define
     use64bitint=undef, use64bitall=undef, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='/usr/local/bin/gcc -B/usr/local/bin/', ccflags ='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
     optimize='-O',
     cppflags='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include'
     ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='/usr/local/bin/gcc -B/usr/local/bin/', ldflags =' -L/usr/local/lib '
     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
     libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
     perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
     libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/CORE'
     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                         PERL_DONT_CREATE_GVSV
                         PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                         PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                         PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES
                         USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                         USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                         USE_REENTRANT_API
   Built under solaris
   Compiled at Jul 24 2014 15:14:28
   @INC:
     /usr/local/lib/perl5/site_perl/5.20.0/i86pc-solaris-thread-multi
     /usr/local/lib/perl5/site_perl/5.20.0
     /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi
     /usr/local/lib/perl5/5.20.0
     /usr/local/lib/perl5/site_perl/5.18.1
     /usr/local/lib/perl5/site_perl

Then, I've downloaded latest httpd24threading version of mod_perl sources, building them with GCC 3.4.6 and using:

- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

- LD_LIBRARY_PATH=/usr/local/lib

- /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

A mod_perl.so library is effectively built without any error, but when I try to test the package some apr-ext tests fail:

t/apr-ext/base64.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
Compilation failed in require at t/apr-ext/base64.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/base64.t line 8.
t/apr-ext/base64.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/brigade.t ..................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
Compilation failed in require at t/apr-ext/brigade.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 8.
t/apr-ext/brigade.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/bucket.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
Compilation failed in require at t/apr-ext/bucket.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 8.
t/apr-ext/bucket.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/date.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
Compilation failed in require at t/apr-ext/date.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/date.t line 8.
t/apr-ext/date.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/error.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
Compilation failed in require at t/apr-ext/error.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/error.t line 8.
t/apr-ext/error.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/finfo.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
Compilation failed in require at t/apr-ext/finfo.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 8.
t/apr-ext/finfo.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/os.t .......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
Compilation failed in require at t/apr-ext/os.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/os.t line 8.
t/apr-ext/os.t .......................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/perlio.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at t/apr-ext/perlio.t line 34.
Compilation failed in require at t/apr-ext/perlio.t line 34.
t/apr-ext/perlio.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/pool.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
Compilation failed in require at t/apr-ext/pool.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/pool.t line 8.
t/apr-ext/pool.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/status.t ...................... ok
t/apr-ext/string.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
Compilation failed in require at t/apr-ext/string.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/string.t line 8.
t/apr-ext/string.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/table.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
Compilation failed in require at t/apr-ext/table.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/table.t line 8.
t/apr-ext/table.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/threadmutex.t ................. ok
t/apr-ext/threadrwlock.t ................ ok
t/apr-ext/uri.t ......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
Compilation failed in require at t/apr-ext/uri.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/uri.t line 8.
t/apr-ext/uri.t ......................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/util.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
Compilation failed in require at t/apr-ext/util.t line 8.
BEGIN failed--compilation aborted at t/apr-ext/util.t line 8.
t/apr-ext/util.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/apr-ext/uuid.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
Compilation failed in require at t/apr-ext/uuid.t line 27.
BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
t/apr-ext/uuid.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

And:

t/compat/conn_rec.t ..................... Failed 2/4 subtests

resulting in:

Test Summary Report
-------------------
t/apr-ext/base64.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/brigade.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/bucket.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/date.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/error.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/finfo.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/os.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/perlio.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/pool.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/string.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/table.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/uri.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/util.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/compat/conn_rec.t (Wstat: 0 Tests: 2 Failed: 0)


I didn't find any explanation about these errors in the official doc and it seems that no one else encountered this issue before ... so I loaded my mod_perl module in apache and a basic perl script was executed, but I cannot be sure if the library is flawed or not. Note that the same result is obtained if I build a static library or if I change the GCC version as well as ld and as executables.

Could you give me any advice or explanation?

Thank you for the support in advance.

Best regards,
Luca Merello


Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.
Grazie per la collaborazione.


The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence.
Thank you for your cooperation.

Search Discussions

  • Mark Hedges at Jul 28, 2014 at 7:01 pm
    I've always found I have to build apr, apr-util and apr-iconv separately first if I am building mod_perl from scratch. You might try that, then build Apache using --with-apr, --with-apr-util and --with-apr-iconv args, then build mod_perl using MP_APR_CONFIG and see if you get past that.

    Mark


    From: MERELLO LUCA
    Sent: Monday, July 28, 2014 4:36 AM
    To: modperl@perl.apache.org
    Subject: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0

    Dear mod_perl team,
    I've recently tried to build mod_perl library on my Solaris 10 server and I've got some test errors.

    My initial configuration is the following:


    - Solaris 10 (x86):

                         Oracle Solaris 10 1/13 s10x_u11wos_24a X86
       Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
                                 Assembled 17 January 2013


    - Apache 2.4.9: downloaded from UnixPackages (built with GCC 3.4.6)


    - Perl 5.20.0: built from sources using GCC 3.4.6 and configured with:

    o PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    o LD_LIBRARY_PATH=/usr/local/lib

    o LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

    o ./Configure -des -A ccflags="-fPIC" -Dcc='/usr/local/bin/gcc -B/usr/local/bin/' -Dusethreads -Duseshrplib

    Summary of my perl5 (revision 5 version 20 subversion 0) configuration:

       Platform:
         osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
         uname='sunos jasper01 5.10 generic_147148-26 i86pc i386 i86pc solaris '
         config_args='-des -A ccflags=-fPIC -Dcc=/usr/local/bin/gcc -B/usr/local/bin/ -Dusethreads -Duseshrplib'
         hint=recommended, useposix=true, d_sigaction=define
         useithreads=define, usemultiplicity=define
         use64bitint=undef, use64bitall=undef, uselongdouble=undef
         usemymalloc=n, bincompat5005=undef
       Compiler:
         cc='/usr/local/bin/gcc -B/usr/local/bin/', ccflags ='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
         optimize='-O',
         cppflags='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include'
         ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
         intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
         d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
         ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
         alignbytes=4, prototype=define
       Linker and Libraries:
         ld='/usr/local/bin/gcc -B/usr/local/bin/', ldflags =' -L/usr/local/lib '
         libpth=/usr/local/lib /usr/lib /usr/ccs/lib
         libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
         perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
         libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
         gnulibc_version=''
       Dynamic Linking:
         dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/CORE'
         cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


    Characteristics of this binary (from libperl):
       Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                             PERL_DONT_CREATE_GVSV
                             PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                             PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                             PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                             PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES
                             USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                             USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                             USE_REENTRANT_API
       Built under solaris
       Compiled at Jul 24 2014 15:14:28
       @INC:
         /usr/local/lib/perl5/site_perl/5.20.0/i86pc-solaris-thread-multi
         /usr/local/lib/perl5/site_perl/5.20.0
         /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi
         /usr/local/lib/perl5/5.20.0
         /usr/local/lib/perl5/site_perl/5.18.1
         /usr/local/lib/perl5/site_perl

    Then, I've downloaded latest httpd24threading version of mod_perl sources, building them with GCC 3.4.6 and using:

    - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    - LD_LIBRARY_PATH=/usr/local/lib

    - /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

    A mod_perl.so library is effectively built without any error, but when I try to test the package some apr-ext tests fail:

    t/apr-ext/base64.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    Compilation failed in require at t/apr-ext/base64.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/base64.t line 8.
    t/apr-ext/base64.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/brigade.t ..................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    Compilation failed in require at t/apr-ext/brigade.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 8.
    t/apr-ext/brigade.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/bucket.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    Compilation failed in require at t/apr-ext/bucket.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 8.
    t/apr-ext/bucket.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/date.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    Compilation failed in require at t/apr-ext/date.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/date.t line 8.
    t/apr-ext/date.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/error.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    Compilation failed in require at t/apr-ext/error.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/error.t line 8.
    t/apr-ext/error.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/finfo.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    Compilation failed in require at t/apr-ext/finfo.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 8.
    t/apr-ext/finfo.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/os.t .......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    Compilation failed in require at t/apr-ext/os.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/os.t line 8.
    t/apr-ext/os.t .......................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/perlio.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at t/apr-ext/perlio.t line 34.
    Compilation failed in require at t/apr-ext/perlio.t line 34.
    t/apr-ext/perlio.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/pool.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    Compilation failed in require at t/apr-ext/pool.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/pool.t line 8.
    t/apr-ext/pool.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/status.t ...................... ok
    t/apr-ext/string.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    Compilation failed in require at t/apr-ext/string.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/string.t line 8.
    t/apr-ext/string.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/table.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    Compilation failed in require at t/apr-ext/table.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/table.t line 8.
    t/apr-ext/table.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/threadmutex.t ................. ok
    t/apr-ext/threadrwlock.t ................ ok
    t/apr-ext/uri.t ......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    Compilation failed in require at t/apr-ext/uri.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/uri.t line 8.
    t/apr-ext/uri.t ......................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/util.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    Compilation failed in require at t/apr-ext/util.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/util.t line 8.
    t/apr-ext/util.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/uuid.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at t/apr-ext/uuid.t line 27.
    BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
    t/apr-ext/uuid.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run

    And:

    t/compat/conn_rec.t ..................... Failed 2/4 subtests

    resulting in:

    Test Summary Report
    -------------------
    t/apr-ext/base64.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/brigade.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/bucket.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/date.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/error.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/finfo.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/os.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/perlio.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/pool.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/string.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/table.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/uri.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/util.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0)
       Non-zero exit status: 2
       Parse errors: No plan found in TAP output
    t/compat/conn_rec.t (Wstat: 0 Tests: 2 Failed: 0)


    I didn't find any explanation about these errors in the official doc and it seems that no one else encountered this issue before ... so I loaded my mod_perl module in apache and a basic perl script was executed, but I cannot be sure if the library is flawed or not. Note that the same result is obtained if I build a static library or if I change the GCC version as well as ld and as executables.

    Could you give me any advice or explanation?

    Thank you for the support in advance.

    Best regards,
    Luca Merello



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato. Grazie per la collaborazione.

    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence. Thank you for your cooperation.
  • Randolf Richardson at Jul 28, 2014 at 11:17 pm
    I've always found I have to build apr, apr-util and apr-iconv separately first if I am building mod_perl from scratch. You might try that, then build Apache using --with-apr, --with-apr-util and --with-apr-iconv args, then build mod_perl using MP_APR_CONFIG and see if you get past that.
      I've noticed that very often APR seems to be out of touch with
    ModPerl when compiling (e.g., with pkgsrc in NetBSD, etc.), and this
    is something that I think is unfortunate because I know some people
    who use APR extensively (I use it too) and so the newest versions of
    ModPerl aren't available to us.

      In future, I think it would be great if ModPerl included some
    optional tests with it to make sure it will work with APR (compile
    with it, etc.?).
    Mark


    From: MERELLO LUCA
    Sent: Monday, July 28, 2014 4:36 AM
    To: modperl@perl.apache.org
    Subject: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0

    Dear mod_perl team,
    I've recently tried to build mod_perl library on my Solaris 10 server and I've got some test errors.

    My initial configuration is the following:


    - Solaris 10 (x86):

    Oracle Solaris 10 1/13 s10x_u11wos_24a X86
    Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
    Assembled 17 January 2013


    - Apache 2.4.9: downloaded from UnixPackages (built with GCC 3.4.6)


    - Perl 5.20.0: built from sources using GCC 3.4.6 and configured with:

    o PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    o LD_LIBRARY_PATH=/usr/local/lib

    o LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

    o ./Configure -des -A ccflags="-fPIC" -Dcc='/usr/local/bin/gcc -B/usr/local/bin/' -Dusethreads -Duseshrplib

    Summary of my perl5 (revision 5 version 20 subversion 0) configuration:

    Platform:
    osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
    uname='sunos jasper01 5.10 generic_147148-26 i86pc i386 i86pc solaris '
    config_args='-des -A ccflags=-fPIC -Dcc=/usr/local/bin/gcc -B/usr/local/bin/ -Dusethreads -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='/usr/local/bin/gcc -B/usr/local/bin/', ccflags ='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
    optimize='-O',
    cppflags='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
    Linker and Libraries:
    ld='/usr/local/bin/gcc -B/usr/local/bin/', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


    Characteristics of this binary (from libperl):
    Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
    PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES
    USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
    USE_REENTRANT_API
    Built under solaris
    Compiled at Jul 24 2014 15:14:28
    @INC:
    /usr/local/lib/perl5/site_perl/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/site_perl/5.20.0
    /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/5.20.0
    /usr/local/lib/perl5/site_perl/5.18.1
    /usr/local/lib/perl5/site_perl

    Then, I've downloaded latest httpd24threading version of mod_perl sources, building them with GCC 3.4.6 and using:

    - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    - LD_LIBRARY_PATH=/usr/local/lib

    - /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

    A mod_perl.so library is effectively built without any error, but when I try to test the package some apr-ext tests fail:

    t/apr-ext/base64.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    Compilation failed in require at t/apr-ext/base64.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/base64.t line 8.
    t/apr-ext/base64.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/brigade.t ..................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    Compilation failed in require at t/apr-ext/brigade.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 8.
    t/apr-ext/brigade.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/bucket.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    Compilation failed in require at t/apr-ext/bucket.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 8.
    t/apr-ext/bucket.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/date.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    Compilation failed in require at t/apr-ext/date.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/date.t line 8.
    t/apr-ext/date.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/error.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    Compilation failed in require at t/apr-ext/error.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/error.t line 8.
    t/apr-ext/error.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/finfo.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    Compilation failed in require at t/apr-ext/finfo.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 8.
    t/apr-ext/finfo.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/os.t .......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    Compilation failed in require at t/apr-ext/os.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/os.t line 8.
    t/apr-ext/os.t .......................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/perlio.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at t/apr-ext/perlio.t line 34.
    Compilation failed in require at t/apr-ext/perlio.t line 34.
    t/apr-ext/perlio.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/pool.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    Compilation failed in require at t/apr-ext/pool.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/pool.t line 8.
    t/apr-ext/pool.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/status.t ...................... ok
    t/apr-ext/string.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    Compilation failed in require at t/apr-ext/string.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/string.t line 8.
    t/apr-ext/string.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/table.t ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    Compilation failed in require at t/apr-ext/table.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/table.t line 8.
    t/apr-ext/table.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/threadmutex.t ................. ok
    t/apr-ext/threadrwlock.t ................ ok
    t/apr-ext/uri.t ......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    Compilation failed in require at t/apr-ext/uri.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/uri.t line 8.
    t/apr-ext/uri.t ......................... Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/util.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    Compilation failed in require at t/apr-ext/util.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/util.t line 8.
    t/apr-ext/util.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run
    t/apr-ext/uuid.t ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at t/apr-ext/uuid.t line 27.
    BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
    t/apr-ext/uuid.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run

    And:

    t/compat/conn_rec.t ..................... Failed 2/4 subtests

    resulting in:

    Test Summary Report
    -------------------
    t/apr-ext/base64.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/brigade.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/bucket.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/date.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/error.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/finfo.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/os.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/perlio.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/pool.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/string.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/table.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uri.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/util.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/compat/conn_rec.t (Wstat: 0 Tests: 2 Failed: 0)


    I didn't find any explanation about these errors in the official doc and it seems that no one else encountered this issue before ... so I loaded my mod_perl module in apache and a basic perl script was executed, but I cannot be sure if the library is flawed or not. Note that the same result is obtained if I build a static library or if I change the GCC version as well as ld and as executables.

    Could you give me any advice or explanation?

    Thank you for the support in advance.

    Best regards,
    Luca Merello



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato. Grazie per la collaborazione.

    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence. Thank you for your cooperation.

    Randolf Richardson - randolf@inter-corporate.com
    Inter-Corporate Computer & Network Services, Inc.
    Beautiful British Columbia, Canada
    http://www.inter-corporate.com/
  • John D Groenveld at Jul 29, 2014 at 12:21 am
    I just tried httpd-2.4.10 under the Illumos distro, OmniOS,
    builds fine.
    $ bzip -dc httpd-2.4.10-deps.tar.bz2|tar xf -
    $ bzip -dc httpd-2.4.10.tar.bz2|tar xf -
    $ env PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/gcc-4.8.1/bin:/usr/sfw/bin \
    CC=gcc CFLAGS="-m64 -O3" LDFLAGS="-m64" \
    ./configure --with-expat=/usr --with-ssl=/usr --enable-ssl \
    --enable-proxy --enable-rewrite --enable-modules=all --enable-mods-shared=all \
    --with-included-apr --prefix=/opt/apache24

    perl-5.20.0 and modperl trunk from SVN also build once I enabled
    threads.

    I have yet to try forked MPM and non-threaded Perl.
    John
    groenveld@acm.org
  • MERELLO LUCA at Jul 30, 2014 at 11:06 am
    In my case, Apache 2.4.9 is built with a quite recent version of APR:
    - apr-1.5.0
    - apr-util-1.5.3

    Maybe I need the latest version of both Apache and apr (i.e. 2.4.10 and 1.5.1) ...
    Or perhaps the culprit is that my Apache 2.4.9 was not built with the support of apr-iconv ... could be?

    Thanks,
    Luca

    -----Original Message-----
    From: Randolf Richardson
    Sent: martedì 29 luglio 2014 01:17
    To: modperl@perl.apache.org
    Subject: Re: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0
    I've always found I have to build apr, apr-util and apr-iconv separately first if I am building mod_perl from scratch. You might try that, then build Apache using --with-apr, --with-apr-util and --with-apr-iconv args, then build mod_perl using MP_APR_CONFIG and see if you get past that.
             I've noticed that very often APR seems to be out of touch with ModPerl when compiling (e.g., with pkgsrc in NetBSD, etc.), and this is something that I think is unfortunate because I know some people who use APR extensively (I use it too) and so the newest versions of ModPerl aren't available to us.

             In future, I think it would be great if ModPerl included some optional tests with it to make sure it will work with APR (compile with it, etc.?).
    Mark


    From: MERELLO LUCA
    Sent: Monday, July 28, 2014 4:36 AM
    To: modperl@perl.apache.org
    Subject: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and
    Perl 5.20.0

    Dear mod_perl team,
    I've recently tried to build mod_perl library on my Solaris 10 server and I've got some test errors.

    My initial configuration is the following:


    - Solaris 10 (x86):

    Oracle Solaris 10 1/13 s10x_u11wos_24a X86
    Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
    Assembled 17 January 2013


    - Apache 2.4.9: downloaded from UnixPackages (built with GCC 3.4.6)


    - Perl 5.20.0: built from sources using GCC 3.4.6 and configured with:

    o PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    o LD_LIBRARY_PATH=/usr/local/lib

    o LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

    o ./Configure -des -A ccflags="-fPIC" -Dcc='/usr/local/bin/gcc -B/usr/local/bin/' -Dusethreads -Duseshrplib

    Summary of my perl5 (revision 5 version 20 subversion 0) configuration:

    Platform:
    osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
    uname='sunos jasper01 5.10 generic_147148-26 i86pc i386 i86pc solaris '
    config_args='-des -A ccflags=-fPIC -Dcc=/usr/local/bin/gcc -B/usr/local/bin/ -Dusethreads -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='/usr/local/bin/gcc -B/usr/local/bin/', ccflags ='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
    optimize='-O',
    cppflags='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
    Linker and Libraries:
    ld='/usr/local/bin/gcc -B/usr/local/bin/', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


    Characteristics of this binary (from libperl):
    Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
    PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES
    USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
    USE_REENTRANT_API
    Built under solaris
    Compiled at Jul 24 2014 15:14:28
    @INC:
    /usr/local/lib/perl5/site_perl/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/site_perl/5.20.0
    /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/5.20.0
    /usr/local/lib/perl5/site_perl/5.18.1
    /usr/local/lib/perl5/site_perl

    Then, I've downloaded latest httpd24threading version of mod_perl sources, building them with GCC 3.4.6 and using:

    - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    - LD_LIBRARY_PATH=/usr/local/lib

    - /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

    A mod_perl.so library is effectively built without any error, but when I try to test the package some apr-ext tests fail:

    t/apr-ext/base64.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    Compilation failed in require at t/apr-ext/base64.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/base64.t line 8.
    t/apr-ext/base64.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/brigade.t
    ..................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    Compilation failed in require at t/apr-ext/brigade.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 8.
    t/apr-ext/brigade.t ..................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/bucket.t
    ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    Compilation failed in require at t/apr-ext/bucket.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 8.
    t/apr-ext/bucket.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/date.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    Compilation failed in require at t/apr-ext/date.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/date.t line 8.
    t/apr-ext/date.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/error.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    Compilation failed in require at t/apr-ext/error.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/error.t line 8.
    t/apr-ext/error.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/finfo.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    Compilation failed in require at t/apr-ext/finfo.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 8.
    t/apr-ext/finfo.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/os.t
    .......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    Compilation failed in require at t/apr-ext/os.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/os.t line 8.
    t/apr-ext/os.t .......................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/perlio.t
    ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at t/apr-ext/perlio.t line 34.
    Compilation failed in require at t/apr-ext/perlio.t line 34.
    t/apr-ext/perlio.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/pool.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    Compilation failed in require at t/apr-ext/pool.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/pool.t line 8.
    t/apr-ext/pool.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/status.t
    ...................... ok t/apr-ext/string.t ......................
    Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    Compilation failed in require at t/apr-ext/string.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/string.t line 8.
    t/apr-ext/string.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/table.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    Compilation failed in require at t/apr-ext/table.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/table.t line 8.
    t/apr-ext/table.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/threadmutex.t
    ................. ok t/apr-ext/threadrwlock.t ................ ok
    t/apr-ext/uri.t ......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    Compilation failed in require at t/apr-ext/uri.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/uri.t line 8.
    t/apr-ext/uri.t ......................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/util.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    Compilation failed in require at t/apr-ext/util.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/util.t line 8.
    t/apr-ext/util.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/uuid.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at t/apr-ext/uuid.t line 27.
    BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
    t/apr-ext/uuid.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run

    And:

    t/compat/conn_rec.t ..................... Failed 2/4 subtests

    resulting in:

    Test Summary Report
    -------------------
    t/apr-ext/base64.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/brigade.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/bucket.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/date.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/error.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/finfo.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/os.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/perlio.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/pool.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/string.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/table.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uri.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/util.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/compat/conn_rec.t (Wstat: 0 Tests: 2 Failed: 0)


    I didn't find any explanation about these errors in the official doc and it seems that no one else encountered this issue before ... so I loaded my mod_perl module in apache and a basic perl script was executed, but I cannot be sure if the library is flawed or not. Note that the same result is obtained if I build a static library or if I change the GCC version as well as ld and as executables.

    Could you give me any advice or explanation?

    Thank you for the support in advance.

    Best regards,
    Luca Merello



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato. Grazie per la collaborazione.

    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence. Thank you for your cooperation.

    Randolf Richardson - randolf@inter-corporate.com Inter-Corporate Computer & Network Services, Inc.
    Beautiful British Columbia, Canada
    http://www.inter-corporate.com/



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.
    Grazie per la collaborazione.


    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence.
    Thank you for your cooperation.
  • Randolf Richardson at Jul 30, 2014 at 7:01 pm

    In my case, Apache 2.4.9 is built with a quite recent version of APR:
    - apr-1.5.0
    - apr-util-1.5.3

    Maybe I need the latest version of both Apache and apr (i.e. 2.4.10 and 1.5.1) ...
    Or perhaps the culprit is that my Apache 2.4.9 was not built with the support of apr-iconv ... could be?
      I'll have to try again with the newest versions of the software as
    soon as a test server becomes available. This is very promising.

      (C compiling is a weak area for me. I rely on tools like pkgsrc to
    automate these things for me, and tools like pkgin lately.)
    Thanks,
    Luca

    -----Original Message-----
    From: Randolf Richardson
    Sent: martedì 29 luglio 2014 01:17
    To: modperl@perl.apache.org
    Subject: Re: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0
    I've always found I have to build apr, apr-util and apr-iconv separately first if I am building mod_perl from scratch. You might try that, then build Apache using --with-apr, --with-apr-util and --with-apr-iconv args, then build mod_perl using MP_APR_CONFIG and see if you get past that.
    I've noticed that very often APR seems to be out of touch with ModPerl when compiling (e.g., with pkgsrc in NetBSD, etc.), and this is something that I think is unfortunate because I know some people who use APR extensively (I use it too) and so the newest versions of ModPerl aren't available to us.

    In future, I think it would be great if ModPerl included some optional tests with it to make sure it will work with APR (compile with it, etc.?).
    Mark


    From: MERELLO LUCA
    Sent: Monday, July 28, 2014 4:36 AM
    To: modperl@perl.apache.org
    Subject: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and
    Perl 5.20.0

    Dear mod_perl team,
    I've recently tried to build mod_perl library on my Solaris 10 server and I've got some test errors.

    My initial configuration is the following:


    - Solaris 10 (x86):

    Oracle Solaris 10 1/13 s10x_u11wos_24a X86
    Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
    Assembled 17 January 2013


    - Apache 2.4.9: downloaded from UnixPackages (built with GCC 3.4.6)


    - Perl 5.20.0: built from sources using GCC 3.4.6 and configured with:

    o PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    o LD_LIBRARY_PATH=/usr/local/lib

    o LDFLAGS="-L/usr/local/lib -R/usr/local/lib"

    o ./Configure -des -A ccflags="-fPIC" -Dcc='/usr/local/bin/gcc -B/usr/local/bin/' -Dusethreads -Duseshrplib

    Summary of my perl5 (revision 5 version 20 subversion 0) configuration:

    Platform:
    osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
    uname='sunos jasper01 5.10 generic_147148-26 i86pc i386 i86pc solaris '
    config_args='-des -A ccflags=-fPIC -Dcc=/usr/local/bin/gcc -B/usr/local/bin/ -Dusethreads -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='/usr/local/bin/gcc -B/usr/local/bin/', ccflags ='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
    optimize='-O',
    cppflags='-D_REENTRANT -fPIC -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
    Linker and Libraries:
    ld='/usr/local/bin/gcc -B/usr/local/bin/', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


    Characteristics of this binary (from libperl):
    Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
    PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES
    USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
    USE_REENTRANT_API
    Built under solaris
    Compiled at Jul 24 2014 15:14:28
    @INC:
    /usr/local/lib/perl5/site_perl/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/site_perl/5.20.0
    /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi
    /usr/local/lib/perl5/5.20.0
    /usr/local/lib/perl5/site_perl/5.18.1
    /usr/local/lib/perl5/site_perl

    Then, I've downloaded latest httpd24threading version of mod_perl sources, building them with GCC 3.4.6 and using:

    - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin

    - LD_LIBRARY_PATH=/usr/local/lib

    - /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs

    A mod_perl.so library is effectively built without any error, but when I try to test the package some apr-ext tests fail:

    t/apr-ext/base64.t ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Base64.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/base64.pm line 12.
    Compilation failed in require at t/apr-ext/base64.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/base64.t line 8.
    t/apr-ext/base64.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/brigade.t
    ..................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/brigade.pm line 15.
    Compilation failed in require at t/apr-ext/brigade.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 8.
    t/apr-ext/brigade.t ..................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/bucket.t
    ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Brigade.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestCommon/Utils.pm line 7.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/bucket.pm line 11.
    Compilation failed in require at t/apr-ext/bucket.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/bucket.t line 8.
    t/apr-ext/bucket.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/date.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Date.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/date.pm line 12.
    Compilation failed in require at t/apr-ext/date.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/date.t line 8.
    t/apr-ext/date.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/error.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Error.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/error.pm line 12.
    Compilation failed in require at t/apr-ext/error.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/error.t line 8.
    t/apr-ext/error.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/finfo.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Finfo.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/finfo.pm line 15.
    Compilation failed in require at t/apr-ext/finfo.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 8.
    t/apr-ext/finfo.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/os.t
    .......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/OS.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/os.pm line 12.
    Compilation failed in require at t/apr-ext/os.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/os.t line 8.
    t/apr-ext/os.t .......................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/perlio.t
    ...................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at t/apr-ext/perlio.t line 34.
    Compilation failed in require at t/apr-ext/perlio.t line 34.
    t/apr-ext/perlio.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/pool.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Pool.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/pool.pm line 11.
    Compilation failed in require at t/apr-ext/pool.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/pool.t line 8.
    t/apr-ext/pool.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/status.t
    ...................... ok t/apr-ext/string.t ......................
    Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/String.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/string.pm line 10.
    Compilation failed in require at t/apr-ext/string.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/string.t line 8.
    t/apr-ext/string.t ...................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/table.t
    ....................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Table.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/table.pm line 12.
    Compilation failed in require at t/apr-ext/table.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/table.t line 8.
    t/apr-ext/table.t ....................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/threadmutex.t
    ................. ok t/apr-ext/threadrwlock.t ................ ok
    t/apr-ext/uri.t ......................... Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/URI.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uri.pm line 12.
    Compilation failed in require at t/apr-ext/uri.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/uri.t line 8.
    t/apr-ext/uri.t ......................... Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/util.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/blib/lib/APR/Util.pm line 23.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    BEGIN failed--compilation aborted at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/util.pm line 12.
    Compilation failed in require at t/apr-ext/util.t line 8.
    BEGIN failed--compilation aborted at t/apr-ext/util.t line 8.
    t/apr-ext/util.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run t/apr-ext/uuid.t
    ........................ Can't load '/application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so' for module APR: ld.so.1: perl: fatal: relocation error: file /application/mod_perl-2.0.9dev/blib/arch/auto/APR/APR.so: symbol perl_module: referenced symbol not found at /usr/local/lib/perl5/5.20.0/i86pc-solaris-thread-multi/DynaLoader.pm line 193.
    at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at /application/mod_perl-2.0.9dev/t/lib/TestAPRlib/uuid.pm line 11.
    Compilation failed in require at t/apr-ext/uuid.t line 27.
    BEGIN failed--compilation aborted at t/apr-ext/uuid.t line 27.
    t/apr-ext/uuid.t ........................ Dubious, test returned 2
    (wstat 512, 0x200) No subtests run

    And:

    t/compat/conn_rec.t ..................... Failed 2/4 subtests

    resulting in:

    Test Summary Report
    -------------------
    t/apr-ext/base64.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/brigade.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/bucket.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/date.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/error.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/finfo.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/os.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/perlio.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/pool.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/string.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/table.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uri.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/util.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: No plan found in TAP output
    t/compat/conn_rec.t (Wstat: 0 Tests: 2 Failed: 0)


    I didn't find any explanation about these errors in the official doc and it seems that no one else encountered this issue before ... so I loaded my mod_perl module in apache and a basic perl script was executed, but I cannot be sure if the library is flawed or not. Note that the same result is obtained if I build a static library or if I change the GCC version as well as ld and as executables.

    Could you give me any advice or explanation?

    Thank you for the support in advance.

    Best regards,
    Luca Merello



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato. Grazie per la collaborazione.

    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence. Thank you for your cooperation.

    Randolf Richardson - randolf@inter-corporate.com Inter-Corporate Computer & Network Services, Inc.
    Beautiful British Columbia, Canada
    http://www.inter-corporate.com/



    Le informazioni contenute in questo messaggio di posta elettronica sono riservate, rivolte esclusivamente al destinatario e non comportano alcun vincolo ne' creano obblighi per la societa' mittente, salvo cio' che non sia espressamente previsto da un precedente accordo.
    Ogni altra persona diversa dal destinatario non puo' copiare o consegnare il presente messaggio o parte dello stesso a terzi ne' trattare in alcun modo i dati contenuti.
    La informiamo che l' utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.
    Grazie per la collaborazione.


    The information in this e-mail is confidential only addressed to the addressee and it is neither binding on this Company nor to be understood as creating any obligation on its part except where provided for an agreement.
    Anyone different from the addressee (who received this e-mail) cannot copy or deliver the message or part of it to a third party, nor deal in any way with the information in this e-mail. Furthermore, the unauthorized use of this message or any attachment could be an offence.
    Thank you for your cooperation.

    Randolf Richardson - randolf@inter-corporate.com
    Inter-Corporate Computer & Network Services, Inc.
    Beautiful British Columbia, Canada
    http://www.inter-corporate.com/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmodperl @
categoriesmodperl, perl
postedJul 28, '14 at 11:37a
activeJul 30, '14 at 7:01p
posts6
users4
websiteperl.apache.org

People

Translate

site design / logo © 2018 Grokbase