Make Install Errot : FreeRadius V 2.1.1 on Suse

Syed Anwarul Hasan syedanwarulhasan2007 at gmail.com
Fri Oct 3 10:52:24 CEST 2008


Dear Alan,Ivan and all,

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.
Please help in this regard.

SYED

pc1138:/usr/src/packages/BUILD/freeradius-server-2.1.1 #* make install*
gmake[1]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1'
Making install in src...
gmake[2]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src'
gmake[3]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src'
Making install in include...
gmake[4]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include'
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
/usr/local/include/freeradius
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 \
        sed 's/^#include <freeradius-devel/#include <freeradius/' $i >
.inst.$$ ; \
        /usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -m 644
.inst.$$   /usr/local/include/freeradius/$i; \
        rm -f .inst.$$ ; \
done
gmake[4]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/include'
Making install in lib...
gmake[4]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib'
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
/usr/local/lib
/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
libfreeradius-radius.la \
        /usr/local/lib/libfreeradius-radius.la
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c .libs/
libfreeradius-radius-2.1.1.so /usr/local/lib/libfreeradius-radius-2.1.1.so
(cd /usr/local/lib && { ln -s -f
libfreeradius-radius-2.1.1.solibfreeradius-radius.so || { rm -f
libfreeradius-radius.so && ln -s
libfreeradius-radius-2.1.1.so libfreeradius-radius.so; }; })
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c
.libs/libfreeradius-radius.lai /usr/local/lib/libfreeradius-radius.la
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -c
.libs/libfreeradius-radius.a /usr/local/lib/libfreeradius-radius.a
chmod 644 /usr/local/lib/libfreeradius-radius.a
ranlib /usr/local/lib/libfreeradius-radius.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
rm -f /usr/local/lib/libfreeradius-radius-2.1.1.la;
ln -s libfreeradius-radius.la /usr/local/lib/libfreeradius-radius-2.1.1.la
gmake[4]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/lib'
Making install in modules...
gmake[4]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'
/usr/src/packages/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
/usr/local/lib
gmake[5]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'
Making install in rlm_acctlog...
gmake[6]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog'
if [ "xrlm_acctlog" != "x" ]; then \
    /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 \
        rlm_acctlog.la /usr/local/lib/rlm_acctlog.la || exit $?; \
    rm -f /usr/local/lib/rlm_acctlog-2.1.1.la; \
    ln -s rlm_acctlog.la /usr/local/lib/rlm_acctlog-2.1.1.la || exit $?; \
fi
li*btool: install: error: cannot install `rlm_acctlog.la' to a directory not
ending in /usr/lib/freeradius
gmake[6]: *** [install] Error 1
gmake[6]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules/rlm_acctlog'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'
gmake[4]: *** [install] Error 2
gmake[4]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.1.1'
make: *** [install] Error 2
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081003/791e293f/attachment.html>


More information about the Freeradius-Users mailing list