rlm_caching with freeradius (2.1.7 or 2.1.8)
Hi! I have some strange problems with freeradius (2.1.7 or 2.1.8) and rlm_caching. After module was compliled, it can not be loaded. Error: /etc/raddb/modules/caching[44]: Failed to link to module 'rlm_caching': file not found Error: /etc/raddb/sites-enabled/default[11]: Failed to find module "caching". But as far as I can see using strace, file realy exists, and "not found error" is "fake" error. # strace radiusd -XXX 2>&1 | grep rlm_cach open("/usr/lib/freeradius/rlm_caching.la", O_RDONLY) = 3 read(3, "# rlm_caching.la - a libtool lib"..., 4096) = 1006 open("/usr/lib/freeradius/rlm_caching-2.1.7.so", O_RDONLY) = 3 open("/usr/lib/freeradius/rlm_caching-2.1.7.so", O_RDONLY) = 3 access("/usr/lib/freeradius/rlm_caching.so", R_OK) = 0 open("/usr/lib/freeradius/rlm_caching.so", O_RDONLY) = 3 write(1, "Mon Feb 8 09:46:27 2010 : Error"..., 122Mon Feb 8 09:46:27 2010 : Error: /etc/raddb/modules/caching[44]: Failed to link to module 'rlm_caching': file not found (it possible bug in error message as I can ubderstand) All other modules loaden normally. Any ideas what I have to check? Best regards, Max Mazur
Max Mazur wrote:
After module was compliled, it can not be loaded.
How did you compile it?
Error: /etc/raddb/modules/caching[44]: Failed to link to module 'rlm_caching': file not found Error: /etc/raddb/sites-enabled/default[11]: Failed to find module "caching".
But as far as I can see using strace, file realy exists, and "not found error" is "fake" error.
It's a real error. It's just that it's not printing out a *useful* error. The "file not found" on a library load means that either rlm_caching wasn't found (which it was), OR a library needed by rlm_caching wasn't found. So... rlm_caching needs a library that your dynamic linker can't find. Where is it? Alan DeKok.
participants (2)
-
Alan DeKok -
Max Mazur