Freeradius 2.1.11 and Oracle support
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
Aurélien Lafranchise wrote:
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. ... 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 ?
Because if you read the REST of the "configure" output, you'll see that it's testing for MULTIPLE versions of the client libraries. Alan DeKok.
2011/7/4 Alan DeKok <aland@deployingradius.com>
Aurélien Lafranchise wrote:
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. ... 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 ?
Because if you read the REST of the "configure" output, you'll see that it's testing for MULTIPLE versions of the client libraries.
Ok, I assume you are right. the make and make install went great but how can I check if effectively the oracle support is ok ? and finally how to replace my existing version (2.1.10 installed trhought yum(fedora)) ? thanks
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Aurélien Lafranchise