freeradius 2.2.0 on Fedora and oracle module

Puzzel puzzel1982 at gmail.com
Thu Oct 10 10:22:08 CEST 2013


Yes, you are right, the oracle inlcude path was in the different location
(/usr/include/oracle/11.2/client64 not /usr/lib...).

Now i've got another problem.

./configure --with-oracle-lib-dir=/usr/lib/oracle/11.2/client64/lib
--with-oracle-include-dir=/usr/include/oracle/11.2/client64
checking for oci.h... checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 libnnz.
configure: creating ./config.status
config.status: creating Makefile

In the folder i've made ln links

ls -la /usr/lib/oracle/11.2/client64/lib/
razem 151112
drwxr-xr-x. 2 root root     4096 10-10 10:14 .
drwxr-xr-x. 4 root root     4096 10-09 14:46 ..
lrwxrwxrwx. 1 root root       17 10-10 10:14 libclntsh -> libclntsh.so.11.1
lrwxrwxrwx. 1 root root       17 10-09 14:46 libclntsh.so ->
libclntsh.so.11.1
-rw-r--r--. 1 root root 48797739 2009-08-15  libclntsh.so.11.1
-rw-r--r--. 1 root root    15365 2009-08-15  libheteroxa11.so
lrwxrwxrwx. 1 root root       11 10-10 10:09 libnnz -> libnnz11.so
-rw-r--r--. 1 root root  7899997 2009-08-15  libnnz11.so
lrwxrwxrwx. 1 root root       15 10-09 14:46 libocci.so -> libocci.so.11.1
-rw-r--r--. 1 root root  1261302 2009-08-15  libocci.so.11.1
-rw-r--r--. 1 root root 89382994 2009-08-15  libociei.so
-rw-r--r--. 1 root root   165157 2009-08-15  libocijdbc11.so
-rw-r--r--. 1 root root   997069 2009-08-15  libsqora.so.11.1
-rw-r--r--. 1 root root  1996228 2009-08-15  ojdbc5.jar
-rw-r--r--. 1 root root  2111220 2009-08-15  ojdbc6.jar
-rw-r--r--. 1 root root  1656280 2009-08-15  orai18n.jar
-rw-r--r--. 1 root root    82983 2009-08-15  orai18n-mapping.jar
-rw-r--r--. 1 root root   298388 2009-08-15  ottclasses.zip
-rw-r--r--. 1 root root    37807 2009-08-15  xstreams.jar

but it didn't help.

-----Original Message-----
From: freeradius-users-bounces+puzzel1982=gmail.com at lists.freeradius.org
[mailto:freeradius-users-bounces+puzzel1982=gmail.com at lists.freeradius.org]
On Behalf Of A.L.M.Buxey at lboro.ac.uk
Sent: Thursday, October 10, 2013 9:41 AM
To: FreeRadius users mailing list
Subject: Re: freeradius 2.2.0 on Fedora and oracle module

Hi,

>    I'e installed oracle instant client from rpm packages (basic + 
> devel)

okay. if you've done this rather than manually installing from Oracle then
its most likely that the paths are different...you will need to check where
your Oracle files have been installed and use those paths instead

alan
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list