can't find new custom module (shared library object file)

John Dennis jdennis at redhat.com
Thu Nov 7 16:05:17 CET 2013


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.


-- 
John


More information about the Freeradius-Users mailing list