-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 05 November 2003 14:27, David Cadenas wrote: > 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!
Did you have postgresql-devel installed on your system when you compiled FreeRADIUS. It appears that you have not built FreeRADIUS with postgres support.. - -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAu0pLAcdsUt9pJjwRAug2AKD2/qkg37Djcagp+nBR7wv9xQ54OwCgmRrP 1VvOrtkZAXYNzwCWrkBTeGw= =97Co -----END PGP SIGNATURE----- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

