Problems with compiling rlm_sql_oracle module

Alan DeKok aland at
Tue Aug 17 22:04:31 CEST 2010

Dan Lark wrote:
> I am desperately trying to get FR compile from the 2.1.9 source tree. In looking through the file for the rlm_sql_oracle driver from src/modules/rlm_sql/drivers/rlm_sql_oracle, it would appear that it is either looking for the 8i/9i full blown client install, or a 10g/11g full install or a specific version of the InstantClient, (This particular InstantClient release is no longer available, btw.)

  Use the v2.1.x branch from  It has updated
configure scripts.

  Please tell us if they work, or if they don't.

> So now my questions:
> 1. What would the best way for me to make the configure script best recognize the release of the client software that I have installed?
> 2. The (and therefore the configure script) are hardcoded to a specific release and architecture. In my case, I am trying to do an x86_64 build. Is there a way to make this more generic?
> 3. I have tried doing some stuff with the file to make it work properly with my release of the InstantClient, but running autoconf against the modified file creates a configure script with syntax errors. It would appear that the original configure script is based on autoconf 2.59, whereas the installed version that I have 2.61. Would that make a difference?
> 4. Based on my observations, re. the InstantClient version information, it would appear that this code is probably stale. Is this currently even being worked on?
> Any suggestions?

  If you don't want to try the v2.1.x branch, just edit the
rlm_sql_oracle/Makefile directly.  There's nothing magic about it.

  Alan DeKok.

More information about the Freeradius-Devel mailing list