I have resolved this problem. The radiusclient library was not included in the both radius modules, somehow. After I statically linked the radiusclient library with the option -lradiusclient when compiling, it works.
regards
yang
-------------------
The modules need radiusclient library but linker is unable to find symbols from the library. Do you have the radiusclient library
installed
correctly ?
regards, Jan.
On 14-02 14:35, Yang Xiang wrote:
Hi,
I get the same error.
I have compiled the whole server and try to load modules on the
host where
the server was compiled. Unfortunatelly it doesn't work. I get the
same
error message as before.
What should I do????
Regards
Yang
----- Original Message ----- From: "Jan Janak" J.Janak@sh.cvut.cz To: "Yang Xiang" yang.xiang@iitb.fraunhofer.de Sent: Friday, February 14, 2003 2:03 PM Subject: Re: [Serusers] problem with loading compiled radius
modules
Recompile the whole server if you can. As you said you use
precomplied
binaries and it is possible that it was compiled using a
different
compiler.
regards, Jan.
On 14-02 13:56, Yang Xiang wrote:
Hi,
Now I get more error messages:
0(22528) ERROR: load_module: could not open module </usr/local/lib/ser/modules/radius_acc.so>: ld.so.1: ser:
fatal:
relocation
error: file /usr/local/lib/ser/modules/radius_acc.so: symbol
rc_avpair_add:
referenced symbol not found 0(22528) parse error (30,13-54): failed to load module 0(22528) ERROR: load_module: could not open module </usr/local/lib/ser/modules/radius_auth.so>: ld.so.1: ser:
fatal:
relocation
error: file /usr/local/lib/ser/modules/radius_auth.so: symbol rc_read_config: referenced symbol not found 0(22528) parse error (31,13-55): failed to load module ERROR: bad config file (2 errors)
What is wrong? In acc_mod.c and auth_mod.c I changed the
definition of
CONFIG_FILE and let it point to an absolute path "/usr/local/etc/radiusclient/radiusclient.conf". By the way, I
compiled
the
modiles on another mashine and copied them to the mashine
where ser
runs. Is
that right?
regards,
yang