rlm_sql module won't compile under Solaris 10

shivashankar c.shivashankar at gmail.com
Fri Aug 7 07:11:00 CEST 2009


hi,

i am using Freeradius 2.1.6.

gcc -shared -Wl,-h -Wl,rlm_sql_mysql-2.1.6.so -o
.libs/rlm_sql_mysql-2.1.6.so  .libs/sql_mysql.o  -L/opt/mysql/mysql/lib
-lmysqlclient_r -lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm -lpthread
-lthread -lc  -m64


ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
.libs/rlm_sql_mysql-2.1.6.so


collect2: ld returned 1 exit status
gmake[10]: *** [rlm_sql_mysql.la] Error 1
gmake[10]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql'
gmake[9]: *** [common] Error 2:,(
-- 
View this message in context: http://www.nabble.com/rlm_sql-module-won%27t-compile-under-Solaris-10-tp24858941p24858941.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list