<div>Thank you for your reply.</div>
<div> </div>
<div>I alredy built it, the problem was in configure file logic - it tried to detect oracle version by looking for $ORACLE_HOME variable and if it is absent it mentioned that you have 8i. Also I didn't find where --with-oracle-include-dir used and I changed the pathes in configure file.</div>

<div> </div>
<div>Now I have successfully compiled freeradius with the following keys:</div>
<div> </div>
<div>./configure --enable-shared --disable-static --with-gnu-ld --with-threads --with-thread-pool --disable-ltdl-install --without-rlm-sql_postgresql --without-rlm-sql_mysql --with-rlm-sql --with-rlm-sql_oracle --with-oracle-home-dir=/usr/lib/oracle/<a href="http://10.2.0.4/client64" target="_blank">10.2.0.4/client64</a> --with-oracle-lib-dir=/usr/lib/oracle/<a href="http://10.2.0.4/client64/lib" target="_blank">10.2.0.4/client64/lib</a> --with-oracle-include-dir=/usr/include/oracle/<a href="http://10.2.0.4/client64" target="_blank">10.2.0.4/client64</a></div>

<div> </div>
<div>Everything works fine except oracle - radiusd is not linked to rlm_sql_oracle.so</div>
<div> </div>
<div><a href="mailto:root@truba:~/freeradius-server-2.1.4" target="_blank">root@truba:~/freeradius-server-2.1.4</a># ldd /usr/local/sbin/radiusd<br>        <a href="http://libfreeradius-radius-2.1.5.so/" target="_blank">libfreeradius-radius-2.1.5.so</a> => /usr/local/lib/<a href="http://libfreeradius-radius-2.1.5.so/" target="_blank">libfreeradius-radius-2.1.5.so</a> (0x0000002a95579000)<br>
        libnsl.so.1 => /lib64/libnsl.so.1 (0x000000322bc00000)<br>        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003225100000)<br>        libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000003224900000)<br>
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000322b400000)<br>        libltdl.so.3 => /usr/lib64/libltdl.so.3 (0x0000003ab6700000)<br>        libssl.so.4 => /lib64/libssl.so.4 (0x0000003228000000)<br>        libcrypto.so.4 => /lib64/libcrypto.so.4 (0x0000003227900000)<br>
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003223e00000)<br>        /lib64/ld-linux-x86-64.so.2 (0x0000003223c00000)<br>        libdl.so.2 => /lib64/libdl.so.2 (0x0000003224300000)<br>        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x0000003227c00000)<br>
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000003227e00000)<br>        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003227500000)<br>        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000003227700000)<br>
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003224f00000)<br><a href="mailto:root@truba:~/freeradius-server-2.1.4" target="_blank">root@truba:~/freeradius-server-2.1.4</a># ldd /usr/local/lib/<a href="http://libfreeradius-radius-2.1.5.so/" target="_blank">libfreeradius-radius-2.1.5.so</a><br>
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95698000)<br>        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)</div>
<div> </div>
<div>Can anybody tell me what have I done wrong?</div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">2009/5/14 Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Maxim Denisov wrote:<br>> Has enybody successfully built freeradius 2.1.4 with instant client?<br><br></div> Yes.  It sometimes takes a bit of fighting, but it works.<br>
<div><br>> I have installed oracle instant client basic 10.2.0.4 + sqlplus + sdk<br>> for linux x86_64, everything from rpm. I can successfully connect with<br>> sqlplus64, paths are correct but when I execute configure in<br>
> rlm_sql_oracle I am getting<br><br></div> If configure doesn't work, don't worry.  Just edit the file<br>..../rlm_sql_oracle/Makefile directly.<br><br> The only magic I've found is 32/64-bit issues.  You might have to link<br>
explicitly to a particular library, rather than using "-l".<br><font color="#888888"><br> Alan DeKok.<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></blockquote></div><br>