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