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
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
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
Did you compile libfreeradius first? Regards, Andras On Wed, 16 Jun 2010 12:01:40 +0200, Bassem Nagi <bassemn@emeint.net> 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
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 <bassemn@emeint.net> 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
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.com@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
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 <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
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.
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
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.
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.net@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp.net@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
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.
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" <davidp@wirelessconnections.net> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> 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.net@lists.freeradius.org [mailto:freeradius-users-bounces+david.peterson=acc-corp.net@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
participants (8)
-
Andras Dosztal -
Bassem Nagi -
Bassem Tadros -
David Peterson -
John Dennis -
Josip Rodin -
Karuna G. Kumar -
Nicolas Goutte