This is the error I get:
root@ns portslave-2002.10.21]# /usr/local/sbin/portslave
/usr/local/sbin/portslave: error while loading shared
libraries: libportslave.so: cannot open shared object
file: No such file or directory
Have successfully compiled and installed, in this order:
1. freeradius 0.8.1
2. radiusclient 0.3.2-4
3. portslave_2002.10.21
Have configured all services as noted above, and
portslave produces the above error when attemptng to run.
When run through init, the following error results:
Jan 19 11:01:59 ns init: Id "S0" respawning too fast:
disabled for 5 minutes
which is basically because of the above error.
When running the same command above on my older RedHat
6.0 box, which I'm upgrading, the following successful
command results:
[root@cheetah portslave]# /usr/local/sbin/portslave
Portslave RADIUS client v1.2.0pre12 GPL2
(c) 1997-1999 Miquel van Smoorenburg, Dave Cinege,
Vesselin Atanasov, et al.
Usage: portslave <port>
My email address is:
micoots@hotmail.com
Logged In: YES
user_id=685877
Shortly after posting this, I was reading through the forums
and the answer was simple, to put in the:
/usr/local/lib
path into the:
/etc/ld.so.conf
file and then re-run
ldconfig
Logged In: YES
user_id=316250
i also had this problem (can't link to .so file) at
RH7.3 w/ Cistron Radius (install from rpm), portslave
(2002.10.21, from tarball) and radiusclient (0.3.2-4, from
tarball).
from maillist, just add the lib to /etc/ld.so.conf
(/usr/local/lib) and run /sbin/ldconfig, the portslave can
find the .so file, but it still had respawn too fast error
and claim can't find the radiusclient.conf file.
any idea about the setting of radiusclient.conf file? i
can't see related info from pslave.conf file or /etc/raddb file.