freeradius 2.1.10 with oracle instantclient11.2

Waqas Toor waqasnasirtoor at gmail.com
Fri Jan 14 11:26:30 CET 2011


Dear Community,

I am trying to compile freeradius2.1.10 with oracle instantclient11.2
and having problems where it is not detecting oracle libraries and
header files. where the oracle home is /opt/instantclient_11_2
there are two steps that I am trying and both are failing.
a: standard compile
 # ./configure --with-experimental-modules
--with-oracle-include-dir=/opt/instantclient_11_2/sdk/include
--with-oracle-lib-dir=/opt/instantclient_11_2
--with-oracle-home-dir=/opt/instantclient_11_2
and getting this error
=== configuring in ./drivers/rlm_sql_oracle
(/opt/freeradius-server-2.1.10/src/modules/rlm_sql/./drivers/rlm_sql_oracle)
configure: running /bin/sh ./configure '--prefix=/usr/local'
'--with-experimental-modules'
'--with-oracle-include-dir=/opt/instantclient_11_2/sdk/include'
'--with-oracle-lib-dir=/opt/instantclient_11_2'
'--with-oracle-home-dir=/opt/instantclient_11_2'
'--enable-ltdl-install' --cache-file=/dev/null --srcdir=.
checking for oci.h... checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
yes
configure: WARNING: oracle libraries not found.  Use
--with-oracle-lib-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: libclntsh libnnz10.
configure: creating ./config.status
config.status: creating Makefile

b: in freeradius-server-2.1.10/src/modules/rlm_sql/drivers/rlm_sql_oracle
changed the Makefile.in and setting
RLM_SQL_CFLAGS =  -I/opt/instantclient_11_2/sdk/include $(INCLTDL)
RLM_SQL_LIBS   = -L/opt/instantclient_11_2

and then make.

but still getting the error.

any pointers .

Thanks
Waqas



More information about the Freeradius-Users mailing list