On Fri, Apr 8, 2011 at 8:13 AM, Jim Rice <[email protected]> wrote: > After installing mysql-connector-odbc, > running ./configure within rlm_sql_unixodbc it was then able to find: > checking for SQLConnect in -lodbc... yes > > But not: > checking for sql.h... no > configure: WARNING: silently not building rlm_sql_unixodbc. > configure: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h. > > I ran a find for sql.h and it is not in /usr. > > And neither pkg exists for mysql-connector-odbc-devel nor > mysql-connector-odbc-dev. > > There is this: > /usr/local/src/freeradius-server-2.1.10/src/modules/rlm_sql/rlm_sql.h > > Still not sure how to resolve this.
Ask your distro list/forum/support, the package name can be distro-specific. Or build unixodbc from source. For example, on Ubuntu, it should be unixodbc-dev http://packages.ubuntu.com/search?searchon=contents&keywords=sql.h&mode=exactfilename&suite=maverick&arch=any -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

