error compiling rlm_sql_oracle

Vishwanath Srikant Pattanshetti vspattanshetti at
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/ -I/u01/app/oracle/product/ -I/u01/app/oracle/product/ -I/u01/app/oracle/product/ -I/u01/app/oracle/product/ -I/freeradius-1.0.4/libltdl -o -rpath /usr/local/lib sql_oracle.lo -L/u01/app/oracle/product/ -lclntsh -lm
rm -fr .libs/ .libs/rlm_sql_oracle.* .libs/rlm_sql_oracle-1.0.4.*
/usr/ccs/bin/ld -G -h -o .libs/  sql_oracle.lo  -L/u01/app/oracle/product/ -lclntsh -lm -lc 
ld: fatal: file /u01/app/oracle/product/ wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/
gmake: *** [] Error 1
	---------------------- cut here --------------------

Can some body help me solving this problem?

Thanks and regards.
Smile... Tomorrow will be worse.

More information about the Freeradius-Devel mailing list