[Serusers] Radius client - ldconfig not adding the libarry

Morris, Scott MorrisS at orau.gov
Thu Mar 18 20:37:41 CET 2004


I installed the radiusclient 0.4.1, and ran into a slight problem.  

I run ldconfig -v /usr/local/lib and the following is output:
	/usr/local/lib:
        libradiusclient.so.2 -> libradiusclient.so.2.0.0

Here is the directory of /usr/local/lib
	-rw-r--r--    1 root     root       130780 Mar 18 12:37
libradiusclient.a
	-rwxr-xr-x    1 root     root          853 Mar 18 12:37
libradiusclient.la
	lrwxrwxrwx    1 root     root           24 Mar 18 12:37
libradiusclient.so -> libradiusclient.so.2.0.0
	lrwxrwxrwx    1 root     root           24 Mar 18 12:37
libradiusclient.so.2 -> libradiusclient.so.2.0.0
	-rwxr-xr-x    1 root     root        95088 Mar 18 12:37
libradiusclient.so.2.0.0
Ldconfig will not process the libradiusclient.so because it is a symbolic
link.  So when I run "ser -ddddddddd start" I get the following:
	0(7710) ERROR: load_module: could not open module
</usr/lib/ser/modules/auth_radius.so>: 	libradiusclient.so.0: cannot open
shared object file: No such file or directory

Ser can't locate the reference for libradiusclient.so.0 since ldconfig won't
process the link libradius.so.0.
Any ideas of getting around this.  I checked the man pages for ldconfig, and
it states it does not process symbolic links:
	"ldconfig ignores  symbolic links when scanning for libraries."


Scott Morris
Enterprise Network Engineer
DOE - ORAU / ORISE
865-576-4672




More information about the sr-users mailing list