Unable to run radclient - libfreeradius-radius-2.0.0.so not found
Trying to run radclient to test if I have things set up correctly and I get this. Only similar thing I could find on the net was libcrypt being missing which was pointed at being an incorrect installation of openLDAP (I think). I downloaded the src and compiled from there with ./configure, make and then make install. Any suggestions? belld@Trigger:~> sudo radclient --help radclient: error while loading shared libraries: libfreeradius-radius-2.0.1.so: cannot open shared object file: No such file or directory belld@Trigger:~> sudo find / -noleaf -name libfreeradius-radius-2.0.1.so /usr/local/lib/libfreeradius-radius-2.0.1.so /home/belld/src/freeradius-server-2.0.1/src/lib/.libs/libfreeradius-radius-2.0.1.so
Hi,
Trying to run radclient to test if I have things set up correctly and I get this.
Only similar thing I could find on the net was libcrypt being missing which was pointed at being an incorrect installation of openLDAP (I think).
I downloaded the src and compiled from there with ./configure, make and then make install.
Any suggestions?
as per the stuff that gets spewed to the screen when you do make install, ensure that /usr/local/lib in in your library path! /etc/ld.so.conf or somesuch (depends on OS/distro) will need to have that path added - after which you need to /sbin/ldconfig -v alan
David W Bell wrote:
Trying to run radclient to test if I have things set up correctly and I get this. ... Any suggestions?
/usr/local/lib isn't in the run-time linker configuration. Fix your run-time linker so that it looks in /usr/local/lib, OR re-build the server with "configure --prefix=/usr" Alan DeKok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
David W Bell