Hi all,

I thought that the 2.1.11 version should be easier to compile and get Oracle support. However, I can tell you that is not easy.

I am doing a ./configure --with-oracle-version=11 --with-oracle-lib-dir=/usr/lib/oracle/11.2/client64/lib --with-oracle-include-dir=/usr/include/oracle/11.2/client64

but the ./src/modules/rlm_sql/drivers/rlm_sql_oracle/config.log tell me some interesting stuff, I have the feeling that it does not take the oracle version number :
...
conftest.c:8:17: fatal error: oci.h: No such file or directory
...
configure:2771: gcc -o conftest -g -O2 -I/usr/include/oracle/11.2/client64/   conftest.c  -L/usr/lib/oracle/11.2/client64/lib/  -lclntsh -lnnz10 >&5 => should be lnnz11
/usr/bin/ld: cannot find -lnnz10 => normal, i don't have it
...
configure:2837: WARNING: FAILURE: rlm_sql_oracle requires: libclntsh libnnz10. => why 10 ?
...

Thanks

Aurélien Lafranchise | Consultant
Tél. : +33 (0)6 03 88 36 26 | Fax : +33 (0)1 75 43 55 11
www.snype-consulting.com