Hi all: I had install Debian lenny. later, mysql, later apache and later, download freeradius freeradius-server-2.1.7.tar.gz, untar and ./configure, make and make install. the errors like "checking for gcc... no" was solved. now, i tried to run famous "radiusd -x" but i have the follow error message: debian:~/freeradius-server-2.1.7# radiusd -X radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radiusd -x radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radtest test test localhost 0 testing123 /usr/local/bin/radclient: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# i do everything logged as root from a ssh session by Putty why error? any idea? i will search in doc or wiki, but help will be grateful. Carlos
I had install Debian lenny. later, mysql, later apache and later, download freeradius freeradius-server-2.1.7.tar.gz, untar and ./configure, make and make install. the errors like "checking for gcc... no" was solved.
now, i tried to run famous "radiusd -x" but i have the follow error message:
debian:~/freeradius-server-2.1.7# radiusd -X radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radiusd -x radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radtest test test localhost 0 testing123 /usr/local/bin/radclient: error while loading shared libraries: libfreeradius-radius-2.1.7.so: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7#
Linker is looking for libraries in the wrong place. Add correct ldpath. You had a message about that when building the server. Ivan Kalik
Hi,
now, i tried to run famous "radiusd -x" but i have the follow error message:
by default it would have gone into /usr/local PATH IIRC - so therefore the libraries would have been installed into /usr/local/lib - this is probably not in yoru LDPATH so you can add it...eg add /usr/local/lib to /etc/ld.so.conf (or add it to whatever file/path your distro needs) then run 'ldconfig -v' et voila....should work...unix 101 stuff alan
On 12/02/2009 06:48 AM, Alan Buxey wrote:
Hi,
now, i tried to run famous "radiusd -x" but i have the follow error message:
by default it would have gone into /usr/local PATH IIRC - so therefore the libraries would have been installed into /usr/local/lib - this is probably not in yoru LDPATH so you can add it...eg
add
/usr/local/lib
to /etc/ld.so.conf (or add it to whatever file/path your distro needs)
Or you might want to consider adding --prefix=/usr (and a few other path arguments) when running configure so that things land in expected places for your system. By default configure assumes you can't install in standard locations and you end up using /usr/local instead. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Hi,
Or you might want to consider adding --prefix=/usr (and a few other path arguments) when running configure so that things land in expected places for your system. By default configure assumes you can't install in standard locations and you end up using /usr/local instead.
many of us prefer additional , 3rd party, home-built tools to go into /usr/local/ and /opt/ rather than spewed all over the main OS where our friends at the distro operations centre play with files :-) alan
G'morning, Carlos. Try to run out /freeradius -X/ command instead. Hugs. -- Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo http://www.pop-sp.rnp.br Fone@RNP 1015-8902 C. Diego Raffaelli A. escreveu:
Hi all:
I had install Debian lenny. later, mysql, later apache and later, download freeradius freeradius-server-2.1.7.tar.gz, untar and ./configure, make and make install. the errors like "checking for gcc... no" was solved.
now, i tried to run famous "radiusd -x" but i have the follow error message:
debian:~/freeradius-server-2.1.7# radiusd -X radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so <http://libfreeradius-radius-2.1.7.so>: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radiusd -x radiusd: error while loading shared libraries: libfreeradius-radius-2.1.7.so <http://libfreeradius-radius-2.1.7.so>: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7# radtest test test localhost 0 testing123 /usr/local/bin/radclient: error while loading shared libraries: libfreeradius-radius-2.1.7.so <http://libfreeradius-radius-2.1.7.so>: cannot open shared object file: No such file or directory debian:~/freeradius-server-2.1.7#
i do everything logged as root from a ssh session by Putty
why error?
any idea?
i will search in doc or wiki, but help will be grateful.
Carlos
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Since we seem to have several posters that don't seem capable of sending plain-text posts can we ask the list-owner to set Mailman to strip HTML? It's an option that can be set per list by the list admin. We use that on several of the 200+ Mailman lists that we host. Only caveat is that some mailers - Hotmail for example - don't send the plaintext with the HTML. Creates a blank post. Maybe then they'll find out how to send a plaintext post. Another way would be to set all HTML posters to receive an inline digest. After they see the crap that HTML mailers throw in they'd fix it fast. If you think NAS/radius compliance is a snakepit - try email clients. Mearl
participants (6)
-
Alan Buxey -
C. Diego Raffaelli A. -
Danner, Mearl -
John Dennis -
tnt@kalik.net -
Wagner Pereira