Hallo all,
  I am having the most frustrating time getting a home brew module to work.

Environment:
AIX 4.3.3
xlc 
apache 1.3.12
mod_perl 1.22
perl 5.00503  (compiled w/ INSTALL patch, details below)

I have had various difficulties trying to get mod_perl to compile
successfully using perl 5.6.0, also w/ mod_perl 1.24.  However, with the
above configuration I have had no compilation problems.  When I try to
include a module in httpd.conf w/ a "PerlModule
Apache::IU::AuthenKerberos" statement & then run apachectl start I get the
following error message:

bash-2.01# ./apachectl start 
Syntax error on line 191 of /usr/local/apache_perl.4/conf/httpd.conf: 
Can't load
'/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so'
for module Apache::IU::AuthenKerberos: dlopen:
/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so:
30
/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so36
ap_add_module 20 httpd36 ap_null_cleanup 21 httpd36 ap_palloc 22 httpd36
ap_register_cleanup 23 httpd at
/usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169.

 at (eval 3) line 3

./apachectl start: httpd could not be started


I suspect that this has something to to w/ dynamically loaded libs due to
the dlopen() portion of the message - however I have no idea where to look
next to resolve the problem.

a more detailed look at my environment:

compile mod_perl + apache as follows:

perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
        APACHE_PREFIX=/usr/local/apache_perl 
make 
make test
make install


Perl (w/ the patched dl_aix.xs file):
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=aix, osvers=4.3.3.0, archname=aix
    uname='aix hautbois 3 4 0073556b4c00 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192
-I/us
r/local/include'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192
-I/us
r/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
    libc=, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(B
ASEEXT).exp -b noentry -lc -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under aix
  Compiled at Jul  4 2000 18:34:39
  @INC:
    /usr/local/lib/perl5/5.00503/aix
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/aix
    /usr/local/lib/perl5/site_perl/5.005
    .




Many thanks,
-jamie






John "Jamie" Marquart           |     This message posted 100% MS free.
Digital Library SysAdmin        |  Work: 812-856-5174   Pager: 812-334-6018
Indiana University Libraries    |  ICQ: 1131494         D'net Team:  6265


Reply via email to