Dear Tihomir,

Really appreciate your help but I still get the same error. I did the following steps as below and tried to run freeswitch but same issue. Please help. Thanks.


[root@terminus mod_rad_auth]#
[root@terminus mod_rad_auth]# updatedb && locate libfreeradius-client.so | grep lib
/billing/installers/freeradius-client-1.1.6/lib/.libs/libfreeradius-client.so
/billing/installers/freeradius-client-1.1.6/lib/.libs/libfreeradius-client.so.2
/billing/installers/freeradius-client-1.1.6/lib/.libs/libfreeradius-client.so.2.0.0
/usr/local/lib/libfreeradius-client.so
/usr/local/lib/libfreeradius-client.so.2
/usr/local/lib/libfreeradius-client.so.2.0.0
[root@terminus mod_rad_auth]# cd /usr/local/freeswitch/lib/
[root@terminus lib]# pwd
/usr/local/freeswitch/lib
[root@terminus lib]# ls
libfreeswitch.a   libfreeswitch.so.1      libjs.la    libjs.so.1.0.6  libplc4.a   libplds4.so
libfreeswitch.la  libfreeswitch.so.1.0.0  libjs.so    libnspr4.a      libplc4.so  pkgconfig
libfreeswitch.so  libjs.a                 libjs.so.1  libnspr4.so     libplds4.a
[root@terminus lib]# ln -sf /usr/local/lib/libfreeradius-client.so.2 libfreeradius-client.so
[root@terminus lib]# ls
libfreeradius-client.so  libfreeswitch.so        libjs.a   libjs.so.1      libnspr4.so  libplds4.a
libfreeswitch.a          libfreeswitch.so.1      libjs.la  libjs.so.1.0.6  libplc4.a    libplds4.so
libfreeswitch.la         libfreeswitch.so.1.0.0  libjs.so  libnspr4.a      libplc4.so   pkgconfig
[root@terminus lib]# ls -l /usr/local/freeswitch/lib/ | grep radius
lrwxrwxrwx 1 root root      40 Oct 19 18:00 libfreeradius-client.so -> /usr/local/lib/libfreeradius-client.so.2


Date: Fri, 15 Oct 2010 19:56:10 +0200
From: tculjaga@gmail.com
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Radius AAA



On Fri, Oct 15, 2010 at 7:32 PM, Michael Collins <msc@freeswitch.org> wrote:
search to make sure that the libfreeradius-client.so.2 file exists somewhere on your system. If it does not then the freeradius-client install was not successful.

-MC

I was short on time .. sorry


so:

1. find your library ...

updatedb && locate libfreeradius-client.s | grep lib

by default it goes into /usr/local/lib/ but you never know.


2. create a link to the library

cd /usr/local/freeswitch/lib/

ln -sf /usr/local/lib/libfreeradius-client.so.2 libfreeradius-client.so

please make sure you input the correct path to the library in question.


when you list your freeswitch/lib/ directory, you should have something like this:

$ ls -l /usr/local/freeswitch/lib/ | grep radius
lrwxrwxrwx 1 root root      40 Mar  7  2010 libfreeradius-client.so.2 -> /usr/local/lib/libfreeradius-client.so.2
 

the link should be there.

Now you can load mod_rad_auth without any issues.







_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org