Chayim
Kirshen:
I found the
following via a google search. Did you ever find the reason for the
ELFCLASS
error?
Hi there,
I'm trying to compile rlm_sql_oracle for solaris. I've got the oracle9i
client installed and when linking I get an error because of the ELFCLASS
of the file. I've printed the output of the make below. Hopefully,
someone can help me!
Oh, I've got GNU make, the GCC, and am running Solaris 8i. Thanks!
make[10]: Entering directory
`/export/home/chayim/freeradius/src/modules/rlm_sql/drivers/rlm_sql_oracle'
/export/home/chayim/freeradius/libtool --mode=link gcc -module
-export-dynamic -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -I../.. -I../../../../include \
-I/export/home/chayim/oracle9i//rdbms/demo
-I/export/home/chayim/oracle9i//rdbms/public
-I/export/home/chayim/oracle9i//plsql/public
-I/export/home/chayim/oracle9i//network/public
-I/export/home/chayim/oracle9i//oci/include
-I/export/home/chayim/freeradius/libltdl -o rlm_sql_oracle.la -rpath
/shared/toolchain/stow/freeradius-0.8//lib sql_oracle.lo
-L/export/home/chayim/oracle9i//lib -lclntsh -lm
rm -fr .libs/rlm_sql_oracle.la .libs/rlm_sql_oracle.*
.libs/rlm_sql_oracle.*
/usr/ccs/bin/ld -G -h rlm_sql_oracle.so.0 -o
.libs/rlm_sql_oracle.so.0.0.0 sql_oracle.lo
-L/export/home/chayim/oracle9i//lib -lclntsh -lm -lc
ld: fatal: file /export/home/chayim/oracle9i//lib/libclntsh.so: wrong
ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
.libs/rlm_sql_oracle.so.0.0.0
I'm trying to compile rlm_sql_oracle for solaris. I've got the oracle9i
client installed and when linking I get an error because of the ELFCLASS
of the file. I've printed the output of the make below. Hopefully,
someone can help me!
Oh, I've got GNU make, the GCC, and am running Solaris 8i. Thanks!
make[10]: Entering directory
`/export/home/chayim/freeradius/src/modules/rlm_sql/drivers/rlm_sql_oracle'
/export/home/chayim/freeradius/libtool --mode=link gcc -module
-export-dynamic -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -I../.. -I../../../../include \
-I/export/home/chayim/oracle9i//rdbms/demo
-I/export/home/chayim/oracle9i//rdbms/public
-I/export/home/chayim/oracle9i//plsql/public
-I/export/home/chayim/oracle9i//network/public
-I/export/home/chayim/oracle9i//oci/include
-I/export/home/chayim/freeradius/libltdl -o rlm_sql_oracle.la -rpath
/shared/toolchain/stow/freeradius-0.8//lib sql_oracle.lo
-L/export/home/chayim/oracle9i//lib -lclntsh -lm
rm -fr .libs/rlm_sql_oracle.la .libs/rlm_sql_oracle.*
.libs/rlm_sql_oracle.*
/usr/ccs/bin/ld -G -h rlm_sql_oracle.so.0 -o
.libs/rlm_sql_oracle.so.0.0.0 sql_oracle.lo
-L/export/home/chayim/oracle9i//lib -lclntsh -lm -lc
ld: fatal: file /export/home/chayim/oracle9i//lib/libclntsh.so: wrong
ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
.libs/rlm_sql_oracle.so.0.0.0
--------------------------------------------------------------------------------
Rick JankaAccuvoice Inc.
Voice: 407-660-1530 ext.
11
Fax: 407-660-1568
--------------------------------------------------------------------------------
