compiling freeradius with oracle support
Alexandre Chapellon
alexandre.chapellon at mana.pf
Tue Aug 19 05:36:47 CEST 2008
Hi
I manage to compil freeradius (2.0.5) with oracle support and so i
installed the oracle instantclient (11_1) and its sdk... all this in
/opt/oracle
When launching compilation (using the dpkg-builpackage wrapper and rules
files modified to enable oracle) i get a problem:
The rlm_sql_oracle driver compilation is silently skip whereas i did
specify the appropriate (well i guess they are appropriate):
--with-rlm-sql-oracle=yes --with-oracle-home-dir=/opt/oracle
--with-oracle-lib-dir=/opt/oracle/instantclient_11_1/
--with-oracle-include-dir=/opt/oracle/instantclient_11_1/sdk/include
It says headers (oci.h) are not found, but this file realy is in the
specified include path.
So i decided to start the dirty stuff and set $oracle_include_dir as an
environment variable doing manual configure (don't know if i can do it
with dpkg-buildpackage)
oracle_include_dir=/opt/oracle/instantclient_11_1/sdk/include
./configure .....
this made the header test successfull but i can't still make it find
libs which are in /opt/oracle/instantclient:
~$ ls /opt/oracle/instantclient_11_1/
adrci genezi libclntsh.so.11.1 libocci.so
libociei.so ojdbc5.jar sdk
BASIC_README libclntsh.so libnnz11.so libocci.so.11.1
libocijdbc11.so ojdbc6.jar
Does anyone have a clue what i could do?
More information about the Freeradius-Users
mailing list