rlm_sql_sqlite issue on CentOS 6.x with sqlite3_create_function_v2

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Feb 4 18:56:25 CET 2014


> We have discovered a problem with the SQLite module. During the compilation, you look for sqlite3_open_v2, but not for sqlite3_create_function_v2. On CentOS, the most recent version of SQLite is 3.6.20 (as per "sqlite3 -version"), and the sqlite3_create_function_v2 function was only added in version 3.7.3 as per http://freecode.com/projects/sqlite/releases/323290. 
> 
> In https://github.com/FreeRADIUS/freeradius-server/blob/f95aa0da8b512c4e36ab5bff30eaa4d325b8d149/src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c you've wrapped the use of that function in a nice IFDEF, but I'm guessing the setting of that IFDEF needs to be updated to check for that function as well?

*sigh* fixed.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140204/5d63e371/attachment.pgp>


More information about the Freeradius-Users mailing list