Graham Fountain <[EMAIL PROTECTED]> wrote:
> I am attempting to set up freeradius to use postgres, and after manually
> adding the path to the pgsql include and lib directories to make.inc i got
> the postgres modules to compile and install.  but now when i try to start
> the radius server with radiusd -X , i get the following error:
> 
> radiusd: error while loading shared libraries:
> /usr/local/lib/rlm_sql_postgresql
> .so.0: undefined symbol: PQconnectdb

  It's not able to link to the postgres module.

> Does anyone have any ideas on what i'm doing wrong and how to get this to
> work?

  You probably didn't add the directory '/usr/local/pgsql/lib' to
/etc/ld.so.conf.  You MUST tell the system where any new library is
located, otherwise the dynamic library loader won't be able to find
it.

  This probably should be a FAQ, even though it has nothing to do with
FreeRADIUS.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to