Hi folks, I'm setting up a FreeBSD 4.0-CURRENT machine to run an Apache server that uses RADIUS authentication. I've already done this successfully with FreeBSD 3.2-STABLE, but read on to see why I'm asking here and not on the FreeBSD mailing lists. :-) I'm using: perl 5.005_03 apache-1.3.9 mod_perl-1.21 (Built as a DSO with APXS [EVERYTHING=1]) Apache-AuthenRadius-0.3 (Perl Module) RadiusPerl-0.05 (Perl Module) MD5-1.7 (Perl Module) I've configured httpd.conf with the following pertinent directives: | [...] | LoadModule perl_module libexec/apache/libperl.so | # perl_module is the last LoadModule | | [...] | AddModule mod_perl.c | # mod_perl.c is the last AddModule | | PerlModule Apache::AuthenRadius Without the PerlModule directive, ``apachectl configtest'' reports that the syntax is OK. However, when I Uncomment the perlModule directive, the configtest produces this (tidied up) output: | Syntax error on line 261 of /usr/local/etc/apache/httpd.conf: | Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/MD5/MD5.so' for |module MD5: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/MD5/MD5.so: |Undefined symbol "PL_markstack_ptr" at /usr/libdata/perl/5.00503/DynaLoader.pm line |169. | | at /usr/local/lib/perl5/site_perl/5.005/Authen/Radius.pm line 18 | BEGIN failed--compilation aborted at |/usr/local/lib/perl5/site_perl/5.005/Authen/Radius.pm line 18. | BEGIN failed--compilation aborted at |/usr/local/lib/perl5/site_perl/5.005/Apache/AuthenRadius.pm line 8. When I use Apache::AuthenRadius from a perl script and run it with the perl interpretor from the command-line, no such error occurs. That's why I'm mailing this list. I'm hoping _someone_ here knows enough to at least point me in the right direction. As suggested in mod_perl's SUPPORT document, I've attached below the output of ``perl -V''. Thanks, Sheldon.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=freebsd, osvers=4.0-current, archname=i386-freebsd uname='freebsd freefall.freebsd.org 4.0-current freebsd 4.0-current #0: $Date$' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='undef', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release) cppflags='' ccflags ='' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E' libpth=/usr/lib libs=-lm -lc -lcrypt libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.3 Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fpic', lddlflags='-shared' Characteristics of this binary (from libperl): Built under freebsd Compiled at Oct 14 1999 18:16:01 @INC: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .