FR3.0 GIT compiled but wont run when PERL used

alan buxey A.L.M.Buxey at lboro.ac.uk
Tue Sep 18 23:06:04 CEST 2012


hi,

with old config method (static)

./configure --prefix=/usr --enable-static --with-large-files --with-raddbdir=/etc/raddb --with-experimental-modules -enable-developer

/etc/raddb/mods-enabled/perl[7]: Failed to link to module 'rlm_perl': /usr/lib/rlm_perl.so: undefined symbol: boot_DynaLoader 
/etc/raddb/sites-enabled/default[614]: Failed to find "perl" in the "modules" section.
/etc/raddb/sites-enabled/default[582]: Errors parsing post-auth section. 

however, I saw a post today saying that static is going way of dodo
along with libtool etc...so compiled without static:

./configure --prefix=/usr --with-large-files --with-raddbdir=/etc/raddb --with-experimental-modules -enable-developer


/etc/raddb/mods-enabled/perl[7]: Failed to link to module 'rlm_perl': /usr/lib/rlm_perl.so: undefined symbol: boot_DynaLoader 
/etc/raddb/sites-enabled/default[614]: Failed to find "perl" in the "modules" section.
/etc/raddb/sites-enabled/default[582]: Errors parsing post-auth section. 


from a quick look this appears to be an XS problem and how the .so files
are loaded in with dlopen - RTLD_GLOBAL ??

alan


More information about the Freeradius-Devel mailing list