Solaris 10 (SPARC 64bit) - problems installing freeradius 1.0.5

Reiko U. k1_god at hotmail.com
Thu Nov 10 16:10:14 CET 2005


hi all ...

i'm trying to installing freeradius-1.0.5 on a sun-ultra-e220 (2x450MHZ 
ULTRASparcII), OS: Solaris 10 (SPARC 64bit), since three days without 
success. I've read many hours in different news-groups, mailing-lists and 
manuals / howtos but no way. Now i hope someone else already have 
successfully running freeradius on Solaris 10 - Sparc-Architcture and can 
tell me wat's wrong. I've attached the configure.log to this email (hope 
this works in mailinglists ???).

Here are my environments:
uname -a: SunOS r220 5.10 Generic sun4u sparc SUNW,Ultra-60
$CC			/usr/local/bin/gcc
$LD_LIBRARY_PATH	/usr/sfw/lib/sparcv9/:/lib/sparcv9/:/usr/sfw/lib/:/lib:/usr/lib:/usr/local/lib:/usr/local/X11/lib:/usr/dt/lib:/usr/openwin/lib
$PATH			/usr/sbin:/usr/bin:/opt/sfw/bin/:/usr/sfw/bin:/usr/sfw/sbin/:/opt/sfw/sbin/:/sbin/:/usr/sbin/:/usr/ccs/bin/:/usr/local/bin:/usr/local/sbin:/opt/sfw/bin/:/usr/sfw/bin

pkginfo | grep gcc
utility     GNUgcc                           GNU gcc 3.4.4 SPARC 64bit 
Solaris 10		(installed in /usr/local)
system      SUNWgcc                          gcc - The GNU C compiler
system      SUNWgccruntime                   GCC Runtime libraries


/usr/local/bin/gcc -v
read specs from /usr/local/lib/gcc/sparc64-sun-solaris2.10/3.4.4/specs
configured with: /var/tmp/gcc-3.4.4/configure --prefix=/usr/local 
--host=sparc64-sun-solaris2.10 --enable-threads=posix 
--with-gxx-include-dir=/usr/local/include/g++ --with-system-zlib 
--enable-shared --with-ld=/usr/ccs/bin/ld --without-gnu-ld
Thread-Modell: posix
gcc-Version 3.4.4




MY PROBLEM:
./configure --localstatedir=/var/ --sysconfdir=/etc/ 
--with-openssl-includes=/usr/sfw/include/openssl/
--with-openssl-libraries=/usr/lib/sparcv9/
produces these warnings:
######################################################################################################
configure: warning: the comm_err library isn't found!
configure: warning: silently not building rlm_krb5.
configure: warning: FAILURE: rlm_krb5 requires:  krb5.
configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires:  libldap_r.
configure: warning: iodbc headers not found.  Use 
--with-iodbc-include-dir=<path>.
configure: warning: sql submodule 'iodbc' disabled
configure: warning: silently not building rlm_sql_postgresql.
configure: warning: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: warning: oracle headers not found.  Use 
--with-oracle-home-dir=<path>.
configure: warning: sql submodule 'oracle' disabled
configure: warning: unixODBC headers not found.  Use 
--with-unixodbc-include-dir=<path>.
configure: warning: sql submodule 'unixodbc' disabled
#######################################################################################################

but finished "successfully".
./make crashs with the following errors:     !!!!!I've translated some lines 
because i use a german console!!!!!
####################################################################################################################################################
	.
	.
	.
creating radiusd
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 
-I/usr/sfw/include/openssl/ -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith 
-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W 
-Wredundant-decls -Wundef  -I../include  -DHOSTINFO=\"\" 
-DRADIUSD_VERSION=\"1.0.5\"   -c radwho.c
gcc  -L../lib -o radwho radwho.o util.o log.o conffile.o -L/usr/lib/sparcv9/ 
-lssl -L/usr/lib/sparcv9/ -lcrypto -lnsl -lresolv -lsocket -lposix4  
-lpthread  -lradius  -lcrypt
undefined                   referenced for first time
Symbol                             in file
MD5Init                             ../lib/libradius.a(radius.o)  (symbol is 
part of implicit dependency /lib/libmd5.so.1)
MD5Final                            ../lib/libradius.a(radius.o)  (Symbol 
gehört zu impliziter Abhängigkeit /lib/libmd5.so.1)
MD5Update                           ../lib/libradius.a(radius.o)  (Symbol 
gehört zu impliziter Abhängigkeit /lib/libmd5.so.1)
ld: Fatal Error: symbol referencing error. No output in radwho written.
collect2: ld returned 1 exit status
gmake[4]: *** [radwho] Error 1
gmake[4]: Leaving directory `/opt/sfw/freeradius-1.0.5/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/opt/sfw/freeradius-1.0.5/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/sfw/freeradius-1.0.5/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/opt/sfw/freeradius-1.0.5'
make: *** [all] Error 2
###################################################################################################################################################

Now, I'm not sure is it a comiler problem, a processor problem (64 bit / 
big/little endian) or, i don't think so, a freeradius problem.
Great thanks to all for any help and hints for solution

Cheers Reiko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 48938 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051110/88ab92db/attachment.bin>


More information about the Freeradius-Users mailing list