I had trouble with this until I installed the mysql-client and mysql-shared rpm's
Then I did a ./configure;make and make install again

You may also need the mysql-devel rpm (I did not test that - But I did have it
installed)


Nicolas Blanc wrote:

> Hi ,
>
> Sorry for my probably basic question but we have compiled freeradius04 with
> success, it has finaly worked well in file/unix mode for auth and acc.
>
> I had to force some ./configure params to install libs in a quite good place
> (/usr/lib on RedHat) and therefore add the PATH in /etc/ld.so.conf.
>
> But I plan to use MySQL like with ICRadius and I think there is another
> problem with lib dependencies at start.
>
> Can someone explain my why Radiusd tell me that It can't find driver
> rlm_sql_mysql ?
>
> Here is the Configure Options:
> ./configure --localstatedir=/var --with-snmp --sysconfdir=/etc --libdir=/usr
> /lib --enable-fast-install=no --enable-strict-dependencies --without-rlm_cou
> nter --without-rlm_dbm --without-rlm_krb5 --without-rlm_ldap --without-rlm_p
> am --without-rlm_sql_postgresql --without-rlm_x99_token --with-rlm_sql_mysql
>
> Of course there is too much params but --enable-strict-dependencies requires
> them !
>
> And here is the output of radiusd in debug mode (only the end ...):
>
> sql: connect_failure_retry_delay = 60
> rlm_sql: Could not link driver rlm_sql_mysql: file not found
> rlm_sql: Make sure it (and all its dependent libraries!) are in the search
> path of your system's ld.
> radiusd.conf[4]: sql: Module instantiation failed.
>
> The MySQL logins are corrects of course so I don't think the first line is
> important ...but the second ....
>
> Any help should be very apreciated ... and sorry for my poor english ;-))
>
> Nicolas
>
> -
> 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