----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 13, 2001 10:37 PM
Subject: Re: Compiling freeradius 0.2 and oracle 8.1.6
> [EMAIL PROTECTED] wrote:
> > I try to compile freeradius 0.2 with oracle client 8.1.6 and it looks
like good but, when I run radiusd I have that error :
> > ===========================================================
> > Wed Aug 8 17:18:46 2001 : Error: rlm_sql: Could not link driver
rlm_sql_oracle: file not found
> > Wed Aug 8 17:18:46 2001 : Error: radiusd.conf[4]: sql: Module
instantiation failed.
> > Wed Aug 8 17:44:50 2001 : Error: radiusd.conf[4] Failed to link to
module 'rlm_sql': file not found
>
> It's not finding one of the dependencies of the sql module. That
> includes the rlm_sql_oracle module, or any library that it links to.
>
> You've got to ensure that the Oracle libraries are in a place where
> your system linker can find them.
>
> Alan DeKok.
Hello!
I go on with this problem since my colleague Fred Gallos has gone for a
while.
I have a Redhat Linux.
The result of the command
/sbin/ldconfig -v
shows that no library is found for the directory /home/applis/freeradius/lib
:
/home/applis/freeradius/lib:
... and nothing below.
But in my /home/applis/freeradius/lib directory, I do have rlm_sql.so,
rlm_sql.so.0, rlm_sql.so.0.0.0, rlm_sql_oracle.so, rlm_sql_oracle.so.0,
rlm_sql_oracle_so.0.0.0 :
bash$ ls /home/applis/freeradius/lib
rlm_acct_unique.a rlm_dictionary.so rlm_pam.so.0.0.0
rlm_acct_unique.la rlm_dictionary.so.0 rlm_preprocess.a
rlm_acct_unique.so rlm_dictionary.so.0.0.0 rlm_preprocess.la
rlm_acct_unique.so.0 rlm_example.a rlm_preprocess.so
rlm_acct_unique.so.0.0.0 rlm_example.la rlm_preprocess.so.0
rlm_always.a rlm_example.so rlm_preprocess.so.0.0.0
rlm_always.la rlm_example.so.0 rlm_radutmp.a
rlm_always.so rlm_example.so.0.0.0 rlm_radutmp.la
rlm_always.so.0 rlm_fastusers.a rlm_radutmp.so
rlm_always.so.0.0.0 rlm_fastusers.la rlm_radutmp.so.0
rlm_attr_filter.a rlm_fastusers.so rlm_radutmp.so.0.0.0
rlm_attr_filter.la rlm_fastusers.so.0 rlm_realm.a
rlm_attr_filter.so rlm_fastusers.so.0.0.0 rlm_realm.la
rlm_attr_filter.so.0 rlm_files.a rlm_realm.so
rlm_attr_filter.so.0.0.0 rlm_files.la rlm_realm.so.0
rlm_attr_rewrite.a rlm_files.so rlm_realm.so.0.0.0
rlm_attr_rewrite.la rlm_files.so.0 rlm_sql.a
rlm_attr_rewrite.so rlm_files.so.0.0.0 rlm_sql.la
rlm_attr_rewrite.so.0 rlm_mschap.a rlm_sql.so
rlm_attr_rewrite.so.0.0.0 rlm_mschap.la rlm_sql.so.0
rlm_counter.a rlm_mschap.so rlm_sql.so.0.0.0
rlm_counter.la rlm_mschap.so.0 rlm_sql_oracle.a
rlm_counter.so rlm_mschap.so.0.0.0 rlm_sql_oracle.la
rlm_counter.so.0 rlm_ns_mta_md5.a rlm_sql_oracle.so
rlm_counter.so.0.0.0 rlm_ns_mta_md5.la rlm_sql_oracle.so.0
rlm_detail.a rlm_ns_mta_md5.so rlm_sql_oracle.so.0.0.0
rlm_detail.la rlm_ns_mta_md5.so.0 rlm_unix.a
rlm_detail.so rlm_ns_mta_md5.so.0.0.0 rlm_unix.la
rlm_detail.so.0 rlm_pam.a rlm_unix.so
rlm_detail.so.0.0.0 rlm_pam.la rlm_unix.so.0
rlm_dictionary.a rlm_pam.so rlm_unix.so.0.0.0
rlm_dictionary.la rlm_pam.so.0
Though, the Oracle libraries are found during the compilation,
the rlm_sql_oracle.so are created during the compilation,
but these files are not interpreted correctly as libraries by our Linux
system.
I suspect a compilation problem.
As a reminder, we compiled with the following options :
./configure --prefix=/applis/freeradius --exec-prefix=/applis/freeradius --w
ith-shared-libs=no --with-oracle-dir=/applis/oracle/8.1.6 --with-oracle-lib-
dir=/applis/oracle/8.1.6/rdbms/demo --with-oracle-include-dir=/applis/oracle
/8.1.6/rdbms/demo
make
make install
Anything wrong with dynamic libraries option,or anything?
Thanks for help!
Edith
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html