Finally, I got this done later by install some missing libs and modules of. lol

Thans Iliya anyway!

 

But I encountered another problem on sql authorize.

I’ll post another one on the list later.

Thanks all of you who spend time for reading this.

 

Okis.

From: Iliya Peregoudov [via FreeRADIUS] [mailto:ml-node+s1045715n5720446h19@n5.nabble.com]
Sent: Tuesday, May 28, 2013 1:53 PM
To: Okis Chuang
Subject: Re: rlm_sql_oracle:libclntsh.so.11.1: cannot open shared object file

 

On 28.05.2013 7:00, Okis Chuang wrote:
> Could not link driver rlm_sql_oracle: libclntsh.so.11.1: cannot open
> shared object file: No such file or directory
>
> Make sure it (and all its dependent libraries!) are in the search path
> of your system's ld.

Directory /usr/lib/oracle/11.2/client64/lib is not in your dynamic
linker search list. There are multiple ways to add it into search list:

1. Add it to the RPATH header when linking rlm_sql_oracle module:

   gcc -Wl,-rpath,/usr/lib/oracle/11.2/client64/lib ...

2. Or add it to the environment when starting radiusd process:

   env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib radiusd ...

3. Or add it to system wide dynamic linker configuration:

   # /etc/ld.so.conf
   /usr/lib/oracle/11.2/client64/lib

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


If you reply to this email, your message will be added to the discussion below:

http://freeradius.1045715.n5.nabble.com/rlm-sql-oracle-libclntsh-so-11-1-cannot-open-shared-object-file-tp5720445p5720446.html

To unsubscribe from rlm_sql_oracle:libclntsh.so.11.1: cannot open shared object file, click here.
NAML