Hi everybody,
I have a problem with the loading of the driver rlm_sql_postgresql.
I have added "sql" to the list in authorize section of the radiusd.conf, between suffix and files.

When the radiusd -X tries to load the Module SQL appears:

Module: Loaded SQL
 sql: driver = "rlm_sql_postgresql"
 sql: server = "localhost"
 sql: port = ""
 sql: login = "postgres"
 sql: password = ""
 sql: radius_db = "radius"
 sql: acct_table = "radacct"
 sql: acct_table2 = "radacct"
 sql: authcheck_table = "radcheck"
 sql: authreply_table = "radreply"
 sql: groupcheck_table = "radgroupcheck"
 sql: groupreply_table = "radgroupreply"
 sql: usergroup_table = "usergroup"
 ...
 ...
 sql: connect_failure_retry_delay = 60
 sql: simul_count_query = ""
 sql: simul_verify_query = ""
rlm_sql (sql): Could not link driver rlm_sql_postgresql: file not found
rlm_sql (sql): Make sure it (and all its dependent libraries!) are in
the search path of your system's ld.
radiusd.conf[11]: sql: Module instantiation failed.

I'm sure that the libraries are well located.
Being prefix = /usr/local  in radiusd.conf, I've the libraries in /usr/local/lib, for example:
rlm_sql.a
rlm_sql.la
rlm_sql_postgresql.a
rlm_sql_postgresql.la
rlm_sql.so

Is it necessary the existence of  rlm_sql_postgresql.so? Is it dynamic?
Thanks!
DAvid
 
 
 

 

Reply via email to