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.