error compiling rlm_sql_oracle
Vishwanath Srikant Pattanshetti
vspattanshetti at airvananet.com
Sat Sep 10 00:17:00 CEST 2005
Hello All
am using free radius 1.0.4 version. Am trying to use Oracle 10g with the same on Solaris 10.
When I complie the rlm_sql_oracle module I get following error.
---------------------- cut here --------------------
/freeradius-1.0.4/libtool --mode=link gcc -release 1.0.4 \
-module -export-dynamic -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG -I../.. -I../../../../include \
-I/u01/app/oracle/product/10.1.0.4/rdbms/demo -I/u01/app/oracle/product/10.1.0.4/rdbms/public -I/u01/app/oracle/product/10.1.0.4/plsql/public -I/u01/app/oracle/product/10.1.0.4/network/public -I/u01/app/oracle/product/10.1.0.4/oci/include -I/freeradius-1.0.4/libltdl -o rlm_sql_oracle.la -rpath /usr/local/lib sql_oracle.lo -L/u01/app/oracle/product/10.1.0.4/lib -lclntsh -lm
rm -fr .libs/rlm_sql_oracle.la .libs/rlm_sql_oracle.* .libs/rlm_sql_oracle-1.0.4.*
/usr/ccs/bin/ld -G -h rlm_sql_oracle-1.0.4.so -o .libs/rlm_sql_oracle-1.0.4.so sql_oracle.lo -L/u01/app/oracle/product/10.1.0.4/lib -lclntsh -lm -lc
ld: fatal: file /u01/app/oracle/product/10.1.0.4/lib/libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/rlm_sql_oracle-1.0.4.so
gmake: *** [rlm_sql_oracle.la] Error 1
---------------------- cut here --------------------
Can some body help me solving this problem?
Thanks and regards.
-Vishwa.
--
Smile... Tomorrow will be worse.
More information about the Freeradius-Devel
mailing list