<div dir="ltr">Dear Alan,Ivan and all,<br><br>I have compiled FreeRadius V 2.1.1 on SLES 10 SP2 .And after config and make steps when I tried the 'make Install' to install the binaries. I got an libtool error and Installation stopped.<br>
Please help in this regard.<br><br>SYED<br><br>pc1138:/usr/src/packages/BUILD/freeradius-server-2.1.1 #<b> make install</b><br>gmake[1]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1'<br>Making install in src...<br>
gmake[2]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src'<br>gmake[3]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src'<br>Making install in include...<br>gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include'<br>
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/include/freeradius<br>for i in hash.h libradius.h md4.h md5.h missing.h packet.h radius.h radpaths.h sha1.h token.h udpfromto.h vqp.h ident.h ; do \<br>
sed 's/^#include <freeradius-devel/#include <freeradius/' $i > .inst.$$ ; \<br> /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -m 644 .inst.$$ /usr/local/include/freeradius/$i; \<br>
rm -f .inst.$$ ; \<br>done<br>gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include'<br>Making install in lib...<br>gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib'<br>
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/lib<br>/usr/src/packages/BUILD/freeradius-server-2.1.1/libtool --mode=install /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c <a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a> \<br>
/usr/local/lib/<a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a><br>/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/<a href="http://libfreeradius-radius-2.1.1.so">libfreeradius-radius-2.1.1.so</a> /usr/local/lib/<a href="http://libfreeradius-radius-2.1.1.so">libfreeradius-radius-2.1.1.so</a><br>
(cd /usr/local/lib && { ln -s -f <a href="http://libfreeradius-radius-2.1.1.so">libfreeradius-radius-2.1.1.so</a> libfreeradius-radius.so || { rm -f libfreeradius-radius.so && ln -s <a href="http://libfreeradius-radius-2.1.1.so">libfreeradius-radius-2.1.1.so</a> libfreeradius-radius.so; }; })<br>
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/libfreeradius-radius.lai /usr/local/lib/<a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a><br>/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/libfreeradius-radius.a /usr/local/lib/libfreeradius-radius.a<br>
chmod 644 /usr/local/lib/libfreeradius-radius.a<br>ranlib /usr/local/lib/libfreeradius-radius.a<br>PATH="$PATH:/sbin" ldconfig -n /usr/local/lib<br>----------------------------------------------------------------------<br>
Libraries have been installed in:<br> /usr/local/lib<br><br>If you ever happen to want to link against installed libraries<br>in a given directory, LIBDIR, you must either use libtool, and<br>specify the full pathname of the library, or use the `-LLIBDIR'<br>
flag during linking and do at least one of the following:<br> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable<br> during execution<br> - add LIBDIR to the `LD_RUN_PATH' environment variable<br> during linking<br>
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag<br> - have your system administrator add LIBDIR to `/etc/ld.so.conf'<br><br>See any operating system documentation about shared libraries for<br>more information, such as the ld(1) and ld.so(8) manual pages.<br>
----------------------------------------------------------------------<br>rm -f /usr/local/lib/<a href="http://libfreeradius-radius-2.1.1.la">libfreeradius-radius-2.1.1.la</a>;<br>ln -s <a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a> /usr/local/lib/<a href="http://libfreeradius-radius-2.1.1.la">libfreeradius-radius-2.1.1.la</a><br>
gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib'<br>Making install in modules...<br>gmake[4]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'<br>
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755 /usr/local/lib<br>gmake[5]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'<br>Making install in rlm_acctlog...<br>
gmake[6]: Entering directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog'<br>if [ "xrlm_acctlog" != "x" ]; then \<br> /usr/src/packages/BUILD/freeradius-server-2.1.1/libtool --mode=install /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c \<br>
<a href="http://rlm_acctlog.la">rlm_acctlog.la</a> /usr/local/lib/<a href="http://rlm_acctlog.la">rlm_acctlog.la</a> || exit $?; \<br> rm -f /usr/local/lib/<a href="http://rlm_acctlog-2.1.1.la">rlm_acctlog-2.1.1.la</a>; \<br>
ln -s <a href="http://rlm_acctlog.la">rlm_acctlog.la</a> /usr/local/lib/<a href="http://rlm_acctlog-2.1.1.la">rlm_acctlog-2.1.1.la</a> || exit $?; \<br>fi<br>li<b>btool: install: error: cannot install `<a href="http://rlm_acctlog.la">rlm_acctlog.la</a>' to a directory not ending in /usr/lib/freeradius<br>
gmake[6]: *** [install] Error 1<br>gmake[6]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog'<br>gmake[5]: *** [common] Error 2<br>gmake[5]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'<br>
gmake[4]: *** [install] Error 2<br>gmake[4]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'<br>gmake[3]: *** [common] Error 2<br>gmake[3]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src'<br>
gmake[2]: *** [install] Error 2<br>gmake[2]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1/src'<br>gmake[1]: *** [common] Error 2<br>gmake[1]: Leaving directory `/usr/src/packages/BUILD/freeradius-server-2.1.1'<br>
make: *** [install] Error 2<br></b><br></div>