Building rlm_sql_oracle

Maxim Denisov kbessmertniy at
Thu May 14 11:27:25 CEST 2009

Thank you for your reply.

I alredy built it, the problem was in configure file logic - it tried to
detect oracle version by looking for $ORACLE_HOME variable and if it is
absent it mentioned that you have 8i. Also I didn't find where
--with-oracle-include-dir used and I changed the pathes in configure file.

Now I have successfully compiled freeradius with the following keys:

./configure --enable-shared --disable-static --with-gnu-ld --with-threads
--with-thread-pool --disable-ltdl-install --without-rlm-sql_postgresql
--without-rlm-sql_mysql --with-rlm-sql --with-rlm-sql_oracle
--with-oracle-home-dir=/usr/lib/oracle/ --with-oracle-include-dir=/usr/include/oracle/

Everything works fine except oracle - radiusd is not linked to

root at truba:~/freeradius-server-2.1.4# ldd /usr/local/sbin/radiusd => /usr/local/lib/ (0x0000002a95579000) => /lib64/ (0x000000322bc00000) => /lib64/ (0x0000003225100000) => /lib64/tls/ (0x0000003224900000) => /lib64/ (0x000000322b400000) => /usr/lib64/ (0x0000003ab6700000) => /lib64/ (0x0000003228000000) => /lib64/ (0x0000003227900000) => /lib64/tls/ (0x0000003223e00000)
        /lib64/ (0x0000003223c00000) => /lib64/ (0x0000003224300000) => /usr/lib64/
(0x0000003227c00000) => /usr/lib64/ (0x0000003227e00000) => /lib64/ (0x0000003227500000) => /usr/lib64/ (0x0000003227700000) => /usr/lib64/ (0x0000003224f00000)
root at truba:~/freeradius-server-2.1.4# ldd /usr/local/lib/ => /lib64/tls/ (0x0000002a95698000)
        /lib64/ (0x000000552aaaa000)

Can anybody tell me what have I done wrong?

2009/5/14 Alan DeKok <aland at>

> Maxim Denisov wrote:
> > Has enybody successfully built freeradius 2.1.4 with instant client?
>  Yes.  It sometimes takes a bit of fighting, but it works.
> > I have installed oracle instant client basic + sqlplus + sdk
> > for linux x86_64, everything from rpm. I can successfully connect with
> > sqlplus64, paths are correct but when I execute configure in
> > rlm_sql_oracle I am getting
>  If configure doesn't work, don't worry.  Just edit the file
> ..../rlm_sql_oracle/Makefile directly.
>  The only magic I've found is 32/64-bit issues.  You might have to link
> explicitly to a particular library, rather than using "-l".
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list