<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok the modules compils great. and it creates rlm_sql_oracle-2.0.5.so
(and its symlink). I copy thoose two files in /usr/lib/freeradius<br>
but when launching freeradius -X i get:<br>
<br>
rlm_sql (sql): Driver rlm_sql_oracle (module rlm_sql_oracle) loaded and
linked<br>
rlm_sql (sql): Attempting to connect to radius@localhost:/radius<br>
rlm_sql (sql): starting 0<br>
rlm_sql (sql): Attempting to connect rlm_sql_oracle #0<br>
freeradius: symbol lookup error: /usr/lib/freeradius/rlm_sql_oracle.so:
undefined symbol: OCIEnvCreate<br>
<br>
Of course I installed the Oracle instantclient. I also added
/opt/oracle/instantclient_11_1 in ld.so.conf and ran ldconfig
afterwards.<br>
I tried to export ORACLE_HOME (to /opt/oracle and to
/op/oracle/instantclient_11_1) as an enveronment variable prior to
starting freeradius... but still with no success.<br>
<br>
I have to say that no oracle instance is installed on the server (only
the client libs shipped in the basic.zip file, provided by oracle) and
so the instance freeradius is trying to connect to doesn't exist
yet.... but i doubt this should be a problem for starting freeradius.<br>
<br>
If anyone can help.... welcome.<br>
<br>
<br>
Alan DeKok a écrit :
<blockquote cite="mid:48AA67CC.10008@deployingradius.com" type="cite">
<pre wrap="">Alexandre Chapellon wrote:
</pre>
<blockquote type="cite">
<pre wrap="">It says headers (oci.h) are not found, but this file realy is in the
specified include path.
</pre>
</blockquote>
<pre wrap=""><!---->
The configure logs should say why it wasn't built, but even that isn't
really worth looking at.
</pre>
<blockquote type="cite">
<pre wrap="">Does anyone have a clue what i could do?
</pre>
</blockquote>
<pre wrap=""><!---->
$ vi src/modules/rlm_sql/drivers/rlm_sql_oracle/Makefile
Set TARGET = rlm_sql_oracle, and edit the CFLAGS && LDFLAGS lines to
ave the appropriate values:
-I/opt/oracle/instantclient_11_1/sdk/include, and -L
/opt/oracle/instantclient_11_1/ -loracle (?)
After than, cd to the directory, and type "make".
Alan DeKok.
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
</body>
</html>