Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
hey averyone; i have installed the pre packaged version and i have found rlm_sqlcounter :) and everything works great now thanks for helping. Best regards, Bassem Tadros - Original Message - From: "David Peterson" To: "FreeRadius users mailing list" Sent: Wednesday, June 16, 2010 4:56:13 PM GMT +02:00 Egypt Subject: RE: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04 I have installed the binary and it has everything I needed thanks! I am having one issue now, when FR receives and EAP packet, the daemon crashes and I get a segmentation fault. Any thoughts other than starting from scratch? -Original Message- From: freeradius-users-bounces+david.peterson=acc-corp@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp@lists.freeradiu s.org] On Behalf Of Josip Rodin Sent: Wednesday, June 16, 2010 7:39 AM To: Bassem Nagi Cc: FreeRadius users mailing list Subject: Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04 On Wed, Jun 16, 2010 at 02:31:54PM +0300, Bassem Nagi wrote: > Hey Josip actually i need to compile in order to use rlm_sqlcounter > module as i understand it is not available with the binary package. Well, I see it at: http://packages.ubuntu.com/lucid/i386/freeradius/filelist /etc/freeradius/modules/sqlcounter_expire_on_login /usr/lib/freeradius/rlm_sqlcounter-2.1.8.so /usr/lib/freeradius/rlm_sqlcounter.so /usr/share/doc/freeradius/rlm_sqlcounter.gz -- 2. That which causes joy or happiness. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
On Wed, Jun 16, 2010 at 09:56:13AM -0400, David Peterson wrote: > I am having one issue now, when FR receives and EAP packet, the daemon > crashes and I get a segmentation fault. Any thoughts other than starting > from scratch? What does the debug mode say, the output of freeradius -X just before the crash? -- 2. That which causes joy or happiness. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
I have installed the binary and it has everything I needed thanks! I am having one issue now, when FR receives and EAP packet, the daemon crashes and I get a segmentation fault. Any thoughts other than starting from scratch? -Original Message- From: freeradius-users-bounces+david.peterson=acc-corp@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp@lists.freeradiu s.org] On Behalf Of Josip Rodin Sent: Wednesday, June 16, 2010 7:39 AM To: Bassem Nagi Cc: FreeRadius users mailing list Subject: Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04 On Wed, Jun 16, 2010 at 02:31:54PM +0300, Bassem Nagi wrote: > Hey Josip actually i need to compile in order to use rlm_sqlcounter > module as i understand it is not available with the binary package. Well, I see it at: http://packages.ubuntu.com/lucid/i386/freeradius/filelist /etc/freeradius/modules/sqlcounter_expire_on_login /usr/lib/freeradius/rlm_sqlcounter-2.1.8.so /usr/lib/freeradius/rlm_sqlcounter.so /usr/share/doc/freeradius/rlm_sqlcounter.gz -- 2. That which causes joy or happiness. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
On 06/16/2010 07:10 AM, Karuna G. Kumar wrote: I also got the same problem when I am compiling FreeRADIUS 2.1.8. I solved this problem by executing the following commands. Change the version number in the file appropriately and execute these commands. ln -s /usr/local/lib/libfreeradius-radius-2.1.8.so /usr/lib/libfreeradius-radius-2.1.8.so You may probably get few more similar kind of errors for libltdl.so.3 and libfreeradius-eap-2.1.8.so For these, following commands will help you. ln -s /usr/local/lib/libltdl.so.3.1.4 /usr/lib/libltdl.so.3 ln -s /usr/local/lib/libfreeradius-eap-2.1.8.so /usr/lib/libfreeradius-eap-2.1.8.so None of this would be necessary if you specified --prefix=/usr when you ran configure. The default prefix of /usr/local is only for those without root permission. But as Josip says it's best to install the pre-built packages because the person doing the packaging already has all the little details which trip people up figured out. Using pre-built packages will save you a *lot* of headaches. -- John Dennis Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
On Wed, Jun 16, 2010 at 02:31:54PM +0300, Bassem Nagi wrote: > Hey Josip actually i need to compile in order to use rlm_sqlcounter > module as i understand it is not available with the binary package. Well, I see it at: http://packages.ubuntu.com/lucid/i386/freeradius/filelist /etc/freeradius/modules/sqlcounter_expire_on_login /usr/lib/freeradius/rlm_sqlcounter-2.1.8.so /usr/lib/freeradius/rlm_sqlcounter.so /usr/share/doc/freeradius/rlm_sqlcounter.gz -- 2. That which causes joy or happiness. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
Hey Josip actually i need to compile in order to use rlm_sqlcounter module as i understand it is not available with the binary package. Regards, Bassem On Wed, 2010-06-16 at 13:24 +0200, Josip Rodin wrote: > On Wed, Jun 16, 2010 at 01:01:40PM +0300, Bassem Nagi wrote: > > Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 > > when i try to start the server i get an error stating > > > > radiusd: error while loading shared libraries: > > libfreeradius-radius-2.1.9.so: cannot open shared object file: No such > > file or directory > > > > Any help would be appreciated. > > If you you don't actually have a reason to compile anything, just install > the newer packages from whatever repository has 2.1.9, see > http://packages.ubuntu.com/freeradius > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
On Wed, Jun 16, 2010 at 01:01:40PM +0300, Bassem Nagi wrote: > Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 > when i try to start the server i get an error stating > > radiusd: error while loading shared libraries: > libfreeradius-radius-2.1.9.so: cannot open shared object file: No such > file or directory > > Any help would be appreciated. If you you don't actually have a reason to compile anything, just install the newer packages from whatever repository has 2.1.9, see http://packages.ubuntu.com/freeradius -- 2. That which causes joy or happiness. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
I also got the same problem when I am compiling FreeRADIUS 2.1.8. I solved this problem by executing the following commands. Change the version number in the file appropriately and execute these commands. ln -s /usr/local/lib/libfreeradius-radius-2.1.8.so /usr/lib/libfreeradius-radius-2.1.8.so You may probably get few more similar kind of errors for libltdl.so.3 and libfreeradius-eap-2.1.8.so For these, following commands will help you. ln -s /usr/local/lib/libltdl.so.3.1.4 /usr/lib/libltdl.so.3 ln -s /usr/local/lib/libfreeradius-eap-2.1.8.so /usr/lib/libfreeradius-eap-2.1.8.so - Karun. -Original Message- From: freeradius-users-bounces+karuna.kumar=indscape@lists.freeradius.org on behalf of Bassem Nagi Sent: Wed 6/16/2010 3:31 PM To: freeradius-users@lists.freeradius.org Cc: Subject:Having trouble compiling freeradius 2.1.9 on ubuntu 10.04 Hi, Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 when i try to start the server i get an error stating radiusd: error while loading shared libraries: libfreeradius-radius-2.1.9.so: cannot open shared object file: No such file or directory Any help would be appreciated. Thanx <>- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
Hey Nicolas i tried ldconfig but for some reason now i am getting a different error Segmentation fault Regards, Bassem On Wed, 2010-06-16 at 12:25 +0200, Nicolas Goutte wrote: > Am 16.06.2010 um 12:01 schrieb Bassem Nagi: > > > Hi, > > Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 > > when i try to start the server i get an error stating > > > > radiusd: error while loading shared libraries: > > libfreeradius-radius-2.1.9.so: cannot open shared object file: No > > such file or directory > > Try running ldconfig in the directory where the .so-file is. > > > > > Any help would be appreciated. > > > > Thanx > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > Nicolas Goutte > > > extragroup GmbH - Karlsruhe > Waldstr. 49 > 76133 Karlsruhe > Germany > > Geschäftsführer: Lars Busch > Registergericht: Amtsgericht Münster / HRB: 5624 > Steuer Nr.: 337/5903/0421 / UstID: DE 204607841 > > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
I downloaded it from ubuntu Repository Thanx, Bassem On Wed, 2010-06-16 at 12:32 +0200, Andras Dosztal wrote: > Did you compile libfreeradius first? > > Regards, > Andras > > > On Wed, 16 Jun 2010 12:01:40 +0200, Bassem Nagi wrote: > > > > > Hi, > > > > Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 > > > > when i try to start the server i get an error stating > > > > > radiusd: error while loading shared libraries: > > > > libfreeradius-radius-2.1.9.so: cannot open shared object file: No such > > file or directory - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
Did you compile libfreeradius first? Regards, Andras On Wed, 16 Jun 2010 12:01:40 +0200, Bassem Nagi wrote: Hi, Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 when i try to start the server i get an error stating radiusd: error while loading shared libraries: libfreeradius-radius-2.1.9.so: cannot open shared object file: No such file or directory - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
Am 16.06.2010 um 12:01 schrieb Bassem Nagi: Hi, Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 when i try to start the server i get an error stating radiusd: error while loading shared libraries: libfreeradius-radius-2.1.9.so: cannot open shared object file: No such file or directory Try running ldconfig in the directory where the .so-file is. Any help would be appreciated. Thanx - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Lars Busch Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Having trouble compiling freeradius 2.1.9 on ubuntu 10.04
Hi, Iam having trouble compiling freeradius version 2.1.9 on ubuntu 10.04 when i try to start the server i get an error stating radiusd: error while loading shared libraries: libfreeradius-radius-2.1.9.so: cannot open shared object file: No such file or directory Any help would be appreciated. Thanx - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html