I got it fixed and just for the record:

The error message I was getting is very misleading (imho), as it said:
"Could not link driver rlm_sql_postgresql: file not found". Which I
interpretted to mean that it couldn't find the "rlm_sql_postgresql"
file, not some library file from a different project. To further mislead
myself, I found a bunch of rlm_sql_* library files in /usr/local/lib and
was thus certain that's what the mesg was talking about.

After reading the FAQ again, all of it this time, I came to the
conclusion that what was actually missing was a Postgres library from
the postgres project (as opposed to some missing postgres file from the
freeradius project). So, I just did ldconfig -R /usr/local/pgsql/lib and
voila, she works now.

---
Dave Montgomery

On Fri, 2004-01-30 at 09:08, Dave Montgomery wrote:
> I've compiled and installed freeradius with Postgresql support enabled.
> There were no errors during the config, the compile, or the install, but
> when I run radiusd -x I get the following message (boring bits removed):
> 
> Module: Loaded SQL
> 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.
> 
> 
> Obviously it would seem that rlm_sql_postgresql is missing, but it's
> not. It's in /usr/local/lib along with a bunch of other rlm_* stuff. I'm
> running FreeBSD 4.9 and Postgresql 7.4.1, both of which are operating
> correctly.
> 
> Any ideas? Am I missing a step here, or is there a problem with
> freeradius and this version of Postgres?
> 
> Thanks
> ---
> Dave Montgomery
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


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

Reply via email to