reinstalling freeradius .............while gmake giveing problme
shivashankar
c.shivashankar at gmail.com
Thu Aug 6 11:08:01 CEST 2009
hi ,
i installed freeradius 2.1.6 on solaris 10
and
i installed and configure mysql5.0..
now it workign fine .
second time when i am tring to install freeradius2.1.6.
i am facing below problem while gmake.
see below error. help me did i do any mistake
gmake[6]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_preprocess'
Making all in rlm_python...
gmake[6]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_python'
for x in .libs/* rlm_python.la; do \
rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
ln -s
/opt/packages/freeradius-server-2.1.6/src/modules/rlm_python/$x
/opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
done
gmake[6]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_python'
Making all in rlm_radutmp...
gmake[6]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp'
for x in .libs/* rlm_radutmp.la; do \
rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
ln -s
/opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp/$x
/opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
done
gmake[6]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_radutmp'
Making all in rlm_realm...
gmake[6]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm'
for x in .libs/* rlm_realm.la; do \
rm -rf /opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
ln -s /opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm/$x
/opt/packages/freeradius-server-2.1.6/src/modules/lib/$x; \
done
gmake[6]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_realm'
Making all in rlm_sql...
gmake[6]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql'
gmake[7]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql'
Making all in drivers...
gmake[8]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers'
/usr/sfw/bin/gmake -w WHAT_TO_MAKE=all common
gmake[9]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers'
Making all in rlm_sql_iodbc...
gmake[10]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_iodbc'
gmake[10]: Nothing to be done for `all'.
gmake[10]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_iodbc'
Making all in rlm_sql_mysql...
gmake[10]: Entering directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers/rlm_sql_mysql'
/opt/packages/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6
\
-module -export-dynamic -o rlm_sql_mysql.la \
-rpath /usr/local/lib sql_mysql.lo -m64 -L/opt/mysql/mysql/lib
-lmysqlclient_r -lz -lpthread -lthread -lposix4 -lresolv -lgen -lsocket
-lnsl -lm -lpthread -lthread
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
gmake[9]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers'
gmake[8]: *** [all] Error 2
gmake[8]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql/drivers'
gmake[7]: *** [common] Error 2
gmake[7]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql'
gmake[6]: *** [build-module] Error 2
gmake[6]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules/rlm_sql'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/opt/packages/freeradius-server-2.1.6/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/packages/freeradius-server-2.1.6/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/opt/packages/freeradius-server-2.1.6'
--
View this message in context: http://www.nabble.com/reinstalling-freeradius-.............while-gmake-giveing-problme-tp24841049p24841049.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
More information about the Freeradius-Users
mailing list