On a Suse9.3 I checked out ftp://ftp.freeradius.org/pub/radius/CVS-snapshots/freeradius-snapshot-20060308.tar.gz

configure reports an error on that version:

checking whether to build static libraries... yes^M
configure: creating libtool^M
appending configuration tag "CXX" to libtool^M
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes^M
libtool.m4: error: problem compiling CXX test program^M
checking for g++ option to produce PIC... ^M

Maybe this is the reason for failure, when make install comes to an end?
...
chmod 644 /usr/local/libradius.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
rm -f /usr/local/lib/libradius-2.0.0-pre0.la;
ln -s libradius.la /usr/local/lib/libradius-2.0.0-pre0.la
ln: creating symbolic link `/usr/local/lib/libradius-2.0.0-pre0.la' to `libradius.la': No such file or directory
gmake[4]: *** [install] Error 1
gmake[4]: Leaving directory `/home/freeradius-snapshot-20060308/src/lib'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/home/freeradius-snapshot-20060308/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/home/freeradius-snapshot-20060308/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/home/freeradius-snapshot-20060308'

running libtool --finish /usr/local/lib' does not help and taking /usr/local/lib into LD_LIBRARY_PATH when starting radiusd does not either:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib /usr/local/sbin/radiusd -AX
/usr/local/sbin/radiusd: error while loading shared libraries: libradius-1.1.0-pre0.so: cannot open shared object file: No such file or directory


Norbert Wegener

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to