This is a discussion on Re: 1.1.4 and rlm_sql_mysql.so within the FreeRADIUS Users forums, part of the Networking and Network Related category; The issue wasn't "how are libraries compiled" it was "from what is this specific library supposed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
The issue wasn't "how are libraries compiled" it was "from what is
this specific library supposed to be compiled." I already knew from the output of ./configure that the mysql libraries weren't found, but since I already had MySQL installed and working I wondered where freeradius was expecting those files to be. mysql-devel is the answer. Working now, thx. Google searches turn up reference to mysql-devel On 1/10/07, A.L.M.Buxey@lboro.ac.uk <A.L.M.Buxey@lboro.ac.uk> wrote: > Hi, > > > 1.1.4 compiles fine and works w/o MySQL (5.0). However, when I run it > > with the SQL lines in radiusd.conf uncommented, I get this: > > > > rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: > > cannot open shared object file: No such file or directory > > rlm_sql (sql): Make sure it (and all its dependent libraries!) are in > > the search path of your system's ld. > > radiusd.conf[14]: sql: Module instantiation failed. > > radiusd.conf[1844] Unknown module "sql". > > radiusd.conf[1773] Failed to parse authorize section. > > > > that library is on my other (RPM-installed) system, but is not > > anywhere on the file system of the new box (including the source > > dir--it isn't in the tarball). > > the library is built when you compile FreeRADIUS. if its not there, then > the required files were not present when you ./configure'd the freeradius > source code. you should always check the output of ./configure thoroughly > to see any issues. as a starter, you'll need to have mysql-devel installed > for MySQL freeradius libraries to be compiled > > alan > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |