I've given up for now building my module externally. So I added it to the FR source tree and built it that way and it now works. Problem solved. But I have a new problem. We also use rlm_perl. When I reference perl in the site file the rlm_perl.so can't be loaded. I checked; does exist in the lib dir. It appears the build did not create the rlm_perl.so. I checked the modules/rlm_perl dir and it's Makefile has no target defined. Thus nothing was attempted (Make wise). Do I need a configure switch to force the inclusion of rlm_perl? Bill On 11/7/2013 9:05 AM, John Dennis wrote:
On 11/06/2013 09:18 PM, Bill Schoolfield wrote:
I built a customized version of the rlm_detail module. It was compiled externally against a version of freeradius built from source. The version I'm using is 2.1.12 as this version matches that of the installed YUM package for centos 6.x.
On another centos host (same version, 64 bit etc), I installed the packaged version of FR (via yum). Then I copied the rlm_billmax.so to /usr/lib64/freeradius, placed the billmax configure file in the modules directory and added the billmax directive to the default site file (accounting section) and yet freeradius fails to load/find the library file. I have checked the file permissions so that isn't it.
What am I missing?
Make sure you've linked against dependent libraries.
After installing the .so make sure you've run ldconfig.