Opened 7 years ago

Closed 7 years ago

#7810 closed defect (fixed)

freeradius2 - 2.1.7-3: Could not link driver rlm_sql_mysql

Reported by: Antoine van Gelder <antoine@…> Owned by: nico
Priority: high Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: freeradius2 Cc:



When using mysql, radiusd dies with:

Could not link driver rlm_sql_mysql: File not found
Make sure it (and all its dependent libraries!) are in the search path of your system's ld.
/etc/freeradius2/sql.conf[22]: Instantiation failed for module "sql"
/etc/freeradius2/sites/default[139]: Failed to find module "sql".
/etc/freeradius2/sites/default[56]: Errors parsing authorize section. 


It looks like the freeradius2 mysql package specifies 'libmysqlclient' as a dependency but is actually linked against 'libmysqlclient_r'

This solved the problem for me:

opkg install libmysqlclient_r 

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to accepted

comment:2 Changed 7 years ago by hauke

  • Resolution set to fixed
  • Status changed from accepted to closed

Thank you for reporting.

This should be fixed in r24059.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.