Oracle 10g

2007-05-22 Thread Ashraf Al-Basti
Dear All,
is it possible to run Freeradius using oracle 10g DB on different 
servers? i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). 
please how can compile freeradius to use the oracle DB?
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Oracle 10g

2007-05-22 Thread Peter Nixon
On Tue 22 May 2007, Ashraf Al-Basti wrote:
 Dear All,
 is it possible to run Freeradius using oracle 10g DB on different
 servers?

yes

 i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). 
 please how can compile freeradius to use the oracle DB?

On SUSE, you simple rebuild my spec file after changing:

%define _oracle_support 0

to

%define _oracle_support 1

You need the oracle devel package installed of course. For RedHat you will 
need to do something similar..

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Oracle 10g

2007-05-22 Thread Ashraf Al-Basti

Dear All,
this is what i have,

rlm_sql (sql): Could not link driver rlm_sql_oracle: rlm_sql_oracle.so: 
cannot open shared object file: No such file or directory
rlm_sql (sql): Make sure it (and all its dependent libraries!) are in 
the search path of your system's ld.

radiusd.conf[10]: sql: Module instantiation failed.
radiusd.conf[1844] Unknown module sql.
radiusd.conf[1773] Failed to parse authorize section.

the rlm_sql_oracle.so is missing, any one have any idea about that.


Peter Nixon wrote:


On Tue 22 May 2007, Ashraf Al-Basti wrote:
 


Dear All,
is it possible to run Freeradius using oracle 10g DB on different
servers?
   



yes

 

i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). 
please how can compile freeradius to use the oracle DB?
   



On SUSE, you simple rebuild my spec file after changing:

%define _oracle_support 0

to

%define _oracle_support 1

You need the oracle devel package installed of course. For RedHat you will 
need to do something similar..


Cheers

 

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

Re: Oracle 10g

2007-05-22 Thread Tomas Hoger
On 5/22/07, Ashraf Al-Basti [EMAIL PROTECTED] wrote:

  Dear All,
  this is what i have,

  rlm_sql (sql): Could not link driver rlm_sql_oracle: rlm_sql_oracle.so:
 cannot open shared object file: No such file or directory
  rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the
 search path of your system's ld.
  radiusd.conf[10]: sql: Module instantiation failed.
  radiusd.conf[1844] Unknown module sql.
  radiusd.conf[1773] Failed to parse authorize section.

  the rlm_sql_oracle.so is missing, any one have any idea about that.

configure script in 1.1.x branch does not support / search for Oracle
10.  You may try to set ORACLE_HOME, ORACE_INCLUDE and ORACLE_LIBS
environment variables properly before running configure and maybe also
use --with-oracle-home-dir configure option.  See configure.in in CVS
code for some inspiration.

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


Re: Oracle 10g

2007-03-12 Thread Andrea Gabellini
Yasser,

are you using instantclient or the full installation? Which OS? With solaris 
and instant client I used:

CFLAGS=-I/usr/local/oracle/sdk/include ./configure 
--with-oracle-home-dir=/usr/local/oracle 

/usr/local/oracle is my ORACLE_HOME, /usr/local/oracle is in my environment 
with crle (ld.config
under linux), and /usr/local/oracle/sdk/include is where header files resides.

Andrea


Yasser Awad wrote:
 Dear All,
 
 I'm trying to use FreeRadius (Currently running 1.0.4) with Oracle 10g.
 When I built FreeRadius I got linking errors (I think they are because of
 the 64 bit libs I get with Oracle 10g).
 Now I want to build a 64 bit version of Radius, is this possible? did any
 one test this?
 
 Waiting for you thoughts on this.
 
 Yasser Awad
 
 
 
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 

---
There are never enough hours in a day, but always too many days before Saturday.
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

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


Oracle 10g

2007-03-10 Thread Yasser Awad

Dear All,

I'm trying to use FreeRadius (Currently running 1.0.4) with Oracle 10g.
When I built FreeRadius I got linking errors (I think they are because of
the 64 bit libs I get with Oracle 10g).
Now I want to build a 64 bit version of Radius, is this possible? did any
one test this?

Waiting for you thoughts on this.

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