Hello all, I am trying again with this issue hoping that someone can take a look at it. I am trying to compile on a RedHat ES5, 64 bits. Any help will be very much appreciated. thanks Olavo Hi again, It didn't "make" . It has returned errors. .libs/radmin.o: In function `main': /usr/src/freeradius-server-2.1.1/src/main/radmin.c:489: undefined reference to `readline' /usr/src/freeradius-server-2.1.1/src/main/radmin.c:411: undefined reference to `using_history' /usr/src/freeradius-server-2.1.1/src/main/radmin.c:412: undefined reference to `rl_insert' /usr/src/freeradius-server-2.1.1/src/main/radmin.c:412: undefined reference to `rl_bind_key' /usr/src/freeradius-server-2.1.1/src/main/radmin.c:498: undefined reference to `add_history' collect2: ld returned 1 exit status gmake[4]: *** [radmin] Error 1 gmake[4]: Leaving directory `/usr/src/freeradius-server-2.1.1/src/main' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/freeradius-server-2.1.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/freeradius-server-2.1.1/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/freeradius-server-2.1.1' make: *** [all] Error 2 Olavo
-----Original Message-----
From:
freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu
s.org
[ <mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f> mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
reeradius.org] On Behalf Of Alan DeKok
Sent: Wednesday, November 19, 2008 1:14 PM
To: FreeRadius users mailing list
Subject: Re: configure error
Olavo wrote:
I downloaded version 2.1 from <http://freeradius.org/download.html> http://freeradius.org/download.html .
When configuring ( ./configure) I got several errors on config.log.
The only reason to look at that file is to debug the
"configure" scripts. The log is SUPPOSED to be full of
errors, because it's testing for platforms other than the one
you're using.
Don't look at it.
Perhaps you could explain if there are *other* errors.
Like maybe you're trying to do something... ? Right now, all
it looks like is you're trying to understand the contents of
"config.log", which is a complete waste of time.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
<http://www.freeradius.org/list/users.html> http://www.freeradius.org/list/users.html
Hi, Actually after I get the errors I have tried to rpm -e readline-devel-5.1-1.1 --allmatches like another user did and it worked. Then checking my system I can see both libraries 32 and 64 /usr/include/readline /usr/include/mysql/readline.h /usr/lib/libreadline.a /usr/lib/libreadline.so /usr/lib/libreadline.so.5 /usr/lib/libreadline.so.5.1 /usr/lib/perl5/site_perl/5.8.8/POE/Test/Loops/wheel_readline.pm /usr/lib64/libreadline.a /usr/lib64/libreadline.so /usr/lib64/libreadline.so.5 /usr/lib64/libreadline.so.5.1 Is there a way to change the MakeFile and direct it to find the correct libraries ? Thanks Olavo
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Alan DeKok Sent: Thursday, November 20, 2008 10:35 AM To: FreeRadius users mailing list Subject: Re: Make error
Olavo wrote:
I am trying again with this issue hoping that someone can take a look at it. I am trying to compile on a RedHat ES5, 64 bits.
Ah. You probably have 32-bit versions of -lreadline, but not 64-bit versions.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Any suggestions ? Olavo
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Alan DeKok Sent: Thursday, November 20, 2008 11:17 AM To: FreeRadius users mailing list Subject: Re: Make error
Olavo wrote:
Is there a way to change the MakeFile and direct it to find the correct libraries ?
No. The issue is that the "configure" script asks the linker on your system to do something... and the linkers behavior is different for "configure" and for "make".
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Does anybody know about any Linux distro 64 bits that Freeradius will work for sure ? Thanks Olavo
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Alan DeKok Sent: Thursday, November 20, 2008 11:17 AM To: FreeRadius users mailing list Subject: Re: Make error
Olavo wrote:
Is there a way to change the MakeFile and direct it to find the correct libraries ?
No. The issue is that the "configure" script asks the linker on your system to do something... and the linkers behavior is different for "configure" and for "make".
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Здравствуйте, Olavo. Вы писали 20 листопада 2008 р., 22:38:10:
Does anybody know about any Linux distro 64 bits that Freeradius will work for sure ?
In spring I compiled 2.0.1 on Fedora core 8 - all was OK. Or just use gentoo - it has 2.0.5 in portage tree marked as stable and 2.1.1 marked as untested.
Thank you guys. I am replying to say that I am giving up RedHat ES5 , 64 bits, and moving on to another distro. This may save someone time in the future. Olavo
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Greg Woods Sent: Thursday, November 20, 2008 1:01 PM To: FreeRadius users mailing list Subject: RE: Make error
On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
Does anybody know about any Linux distro 64 bits that Freeradius will work for sure ?
I am using it on CentOS 5.2 x86_64. The freeradius package that comes with CentOS 5 is old though, I compiled freeradius from source.
--Greg
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi all, I am posting this so it can save some headaches for other people in the future. I've been trying to install FR on a 64 bits OS for a while. First I tried RH 5.2 and I got the following errors /usr/bin/libtool --mode=link gcc -o radmin
radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius- radius.la util.lo log.lo conffile.lo -lnsl -lresolv -lpthread -lreadline -ltermcap gcc -o .libs/radmin .libs/radmin.o /usr/lib/libreadline.so /usr/lib64/libtermcap.so .libs/util.o .libs/log.o .libs/conffile.o /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer adius-radi us.s o -lnsl -lresolv -lpthread -lreadline -ltermcap /usr/lib/libreadline.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status gmake[4]: *** [radmin] Error 1
Then I move on to CentOs since Greg Woods informed that he is using it without any grief. When I was making it on CentOS I got the exactly same errors above. Then I tried to install on Fedora 10 and it installed smoothly. After playing with Fedora for some time I realized that it is too slow compared to CentOS or RH and I decided to move back to CentOS and find a way to properly install it. The clue to fix the problem was provided by Greg when he said that the FR included with CentOS was too old. When I installed the first time I didn't realized that there is a FR 1.13 version on CentOS so I didn't installed along with the OS. This time I selected 1.13 version and it was installed normally. Then I downloaded version FR 2.1 and it installed smoothly. Now I have radiusd -v radiusd: FreeRADIUS Version 2.1.1, for host x86_64-unknown-linux-gnu, built on Nov 28 2008 at 23:06:41 I read somewhere in the site that this is not the recommended way to do it and that 2.1 should be installed in a different location. If someone could comment about any problems that can arise it will be appreciated. Thanks Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Greg Woods Sent: Thursday, November 20, 2008 1:01 PM To: FreeRadius users mailing list Subject: RE: Make error
On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
Does anybody know about any Linux distro 64 bits that Freeradius will work for sure ?
I am using it on CentOS 5.2 x86_64. The freeradius package that comes with CentOS 5 is old though, I compiled freeradius from source.
--Greg
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I assume that you are referring to a build from source as opposed to an rpmbuild from source? If that's the case you would want to review this: http://wiki.freeradius.org/Build#Building_RedHat_packages -Ted- Olavo wrote:
Hi all,
I am posting this so it can save some headaches for other people in the future.
I've been trying to install FR on a 64 bits OS for a while. First I tried RH 5.2 and I got the following errors
/usr/bin/libtool --mode=link gcc -o radmin
radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
radius.la
util.lo log.lo conffile.lo -lnsl -lresolv -lpthread -lreadline -ltermcap gcc -o .libs/radmin .libs/radmin.o
/usr/lib/libreadline.so
/usr/lib64/libtermcap.so .libs/util.o .libs/log.o .libs/conffile.o /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
adius-radi
us.s o -lnsl -lresolv -lpthread -lreadline -ltermcap /usr/lib/libreadline.so: could not read symbols: File in
wrong format
collect2: ld returned 1 exit status gmake[4]: *** [radmin] Error 1
Then I move on to CentOs since Greg Woods informed that he is using it without any grief.
When I was making it on CentOS I got the exactly same errors above. Then I tried to install on Fedora 10 and it installed smoothly. After playing with Fedora for some time I realized that it is too slow compared to CentOS or RH and I decided to move back to CentOS and find a way to properly install it.
The clue to fix the problem was provided by Greg when he said that the FR included with CentOS was too old. When I installed the first time I didn't realized that there is a FR 1.13 version on CentOS so I didn't installed along with the OS.
This time I selected 1.13 version and it was installed normally.
Then I downloaded version FR 2.1 and it installed smoothly. Now I have
radiusd -v radiusd: FreeRADIUS Version 2.1.1, for host x86_64-unknown-linux-gnu, built on Nov 28 2008 at 23:06:41
I read somewhere in the site that this is not the recommended way to do it and that 2.1 should be installed in a different location.
If someone could comment about any problems that can arise it will be appreciated.
Thanks
Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Greg Woods Sent: Thursday, November 20, 2008 1:01 PM To: FreeRadius users mailing list Subject: RE: Make error
On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
Does anybody know about any Linux distro 64 bits that
Freeradius will
work for sure ?
I am using it on CentOS 5.2 x86_64. The freeradius package that comes with CentOS 5 is old though, I compiled freeradius from source.
--Greg
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Thank you. Actually the server is running very well now. Investigating more I realized that version 1.13 is still there but in different directories, so when I set to start on boot it will run version 1.13. Does anybody know if it is only a matter of changing the radiusd script on /etc/init.d to point to version 2.1 daemon and conf files ? Or there is anything elese that I have to do ? Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Ted Lum Sent: Saturday, November 29, 2008 12:04 PM To: FreeRadius users mailing list Subject: Re: Make error - Solved
I assume that you are referring to a build from source as opposed to an rpmbuild from source?
If that's the case you would want to review this: http://wiki.freeradius.org/Build#Building_RedHat_packages
-Ted-
Olavo wrote:
Hi all,
I am posting this so it can save some headaches for other people in the future.
I've been trying to install FR on a 64 bits OS for a while. First I tried RH 5.2 and I got the following errors
/usr/bin/libtool --mode=link gcc -o radmin
radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
radius.la
util.lo log.lo conffile.lo -lnsl -lresolv -lpthread -lreadline -ltermcap gcc -o .libs/radmin .libs/radmin.o
/usr/lib/libreadline.so
/usr/lib64/libtermcap.so .libs/util.o .libs/log.o .libs/conffile.o /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
adius-radi
us.s o -lnsl -lresolv -lpthread -lreadline -ltermcap /usr/lib/libreadline.so: could not read symbols: File in
wrong format
collect2: ld returned 1 exit status gmake[4]: *** [radmin] Error 1
Then I move on to CentOs since Greg Woods informed that he is using it without any grief.
When I was making it on CentOS I got the exactly same errors above. Then I tried to install on Fedora 10 and it installed smoothly. After playing with Fedora for some time I realized that it is too slow compared to CentOS or RH and I decided to move back to CentOS and find a way to properly install it.
The clue to fix the problem was provided by Greg when he said that the FR included with CentOS was too old. When I installed the first time I didn't realized that there is a FR 1.13 version on CentOS so I didn't installed along with the OS.
This time I selected 1.13 version and it was installed normally.
Then I downloaded version FR 2.1 and it installed smoothly. Now I have
radiusd -v radiusd: FreeRADIUS Version 2.1.1, for host x86_64-unknown-linux-gnu, built on Nov 28 2008 at 23:06:41
I read somewhere in the site that this is not the recommended way to do it and that 2.1 should be installed in a different location.
If someone could comment about any problems that can arise it will be appreciated.
Thanks
Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Greg Woods Sent: Thursday, November 20, 2008 1:01 PM To: FreeRadius users mailing list Subject: RE: Make error
On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
Does anybody know about any Linux distro 64 bits that
Freeradius will
work for sure ?
I am using it on CentOS 5.2 x86_64. The freeradius package that comes with CentOS 5 is old though, I compiled freeradius from source.
--Greg
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Don't know. If you look in the .spec file you'll see what additional work is done in the package that isn't done otherwise. In addition to init.d you may need to deal with logrotate.d and pam.d, ldconfig and chkconfig, not to mention the users and groups it creates or the log files it customizes. You can do all this configuration by hand if you know what to do, but its a lot of extra work. This is why its a good idea to do an rpmbuild and install the package. It should deal with the existing version as well as enable a proper upgrade when a new version becomes available in the repository. Simply building from source may not be compatible with the previous version that's already there or compatible with any upgrade because the package has additional things and sometimes has them in different places. Just my opinion but I strongly discourage not using packages for applications already in the distros repository. J Santos wrote:
Thank you.
Actually the server is running very well now. Investigating more I realized that version 1.13 is still there but in different directories, so when I set to start on boot it will run version 1.13.
Does anybody know if it is only a matter of changing the radiusd script on /etc/init.d to point to version 2.1 daemon and conf files ? Or there is anything elese that I have to do ?
Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Ted Lum Sent: Saturday, November 29, 2008 12:04 PM To: FreeRadius users mailing list Subject: Re: Make error - Solved
I assume that you are referring to a build from source as opposed to an rpmbuild from source?
If that's the case you would want to review this: http://wiki.freeradius.org/Build#Building_RedHat_packages
-Ted-
Olavo wrote:
Hi all,
I am posting this so it can save some headaches for other
people in
the future.
I've been trying to install FR on a 64 bits OS for a while. First I tried RH 5.2 and I got the following errors
/usr/bin/libtool --mode=link gcc -o radmin
radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
radius.la
util.lo log.lo conffile.lo -lnsl -lresolv -lpthread -lreadline -ltermcap gcc -o .libs/radmin .libs/radmin.o
/usr/lib/libreadline.so
/usr/lib64/libtermcap.so .libs/util.o .libs/log.o
.libs/conffile.o
/usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
adius-radi
us.s o -lnsl -lresolv -lpthread -lreadline -ltermcap /usr/lib/libreadline.so: could not read symbols: File in
wrong format
collect2: ld returned 1 exit status gmake[4]: *** [radmin] Error 1
Then I move on to CentOs since Greg Woods informed that he
is using it
without any grief.
When I was making it on CentOS I got the exactly same errors above. Then I tried to install on Fedora 10 and it installed
smoothly. After
playing with Fedora for some time I realized that it is too slow compared to CentOS or RH and I decided to move back to
CentOS and find
a way to properly install it.
The clue to fix the problem was provided by Greg when he
said that the
FR included with CentOS was too old. When I installed the
first time I
didn't realized that there is a FR 1.13 version on CentOS
so I didn't
installed along with the OS.
This time I selected 1.13 version and it was installed normally.
Then I downloaded version FR 2.1 and it installed smoothly. Now I have
radiusd -v radiusd: FreeRADIUS Version 2.1.1, for host
x86_64-unknown-linux-gnu,
built on Nov 28 2008 at 23:06:41
I read somewhere in the site that this is not the
recommended way to
do it and that 2.1 should be installed in a different location.
If someone could comment about any problems that can arise
it will be
appreciated.
Thanks
Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of Greg Woods Sent: Thursday, November 20, 2008 1:01 PM To: FreeRadius users mailing list Subject: RE: Make error
On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
Does anybody know about any Linux distro 64 bits that
Freeradius will
work for sure ?
I am using it on CentOS 5.2 x86_64. The freeradius package that comes with CentOS 5 is old though, I compiled freeradius from source.
--Greg
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
There has been a fair amount of confusion over how to get FreeRADIUS packages for Fedora, RHEL, and CentOS, how to perform a build if a pre-built package is not available, and how to do some basic maintenance tasks. So I've created a new FreeRADIUS wiki page with Red Hat specific information: http://wiki.freeradius.org/Red_Hat_FAQ If you discover the information is incomplete or in error please let me know and I'll update it. I will reiterate what has been expressed in several recent threads, if you need to build and/or install FreeRADIUS for Fedora, RHEL, or CentOS your pain threshold will be greatly diminished if you use RPM's developed and distributed for Red Hat systems rather than trying to build from the raw source tarball. The reasons and procedures are hopefully sufficiently well explained in the FAQ (if not let me know and I'll fix it). -- John Dennis <jdennis@redhat.com>
Thank you Dennis, It is a very, very useful document. Checking both distros RHEL and CentOS there are only old packages available (version 1.1.3) and only i386. I have a rpm already built but it is not properly working. Based on what you described in the doc I better install the old version and then yum upgrade freeradius Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: mirror.voxitas.com * updates: ftp.telus.net * addons: mirrors.cat.pdx.edu * extras: yum.singlehop.com Setting up Upgrade Process Could not find update match for freeradius No Packages marked for Update As you can see there is no update available. So I am in the worst situation and have no choice other that rpmbuild. I am on CentOS 64 and I need Mysql. The link you have provided in the doc is for fedora only. Could you please inform from where I can get the spec file for CentOS 64 with MySql ? regards Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of John Dennis Sent: Monday, December 01, 2008 3:56 PM To: FreeRadius users mailing list Subject: Building & Installing on Red Hat Systems (Was: Make error - Solved)
There has been a fair amount of confusion over how to get FreeRADIUS packages for Fedora, RHEL, and CentOS, how to perform a build if a pre-built package is not available, and how to do some basic maintenance tasks.
So I've created a new FreeRADIUS wiki page with Red Hat specific information:
http://wiki.freeradius.org/Red_Hat_FAQ
If you discover the information is incomplete or in error please let me know and I'll update it.
I will reiterate what has been expressed in several recent threads, if you need to build and/or install FreeRADIUS for Fedora, RHEL, or CentOS your pain threshold will be greatly diminished if you use RPM's developed and distributed for Red Hat systems rather than trying to build from the raw source tarball. The reasons and procedures are hopefully sufficiently well explained in the FAQ (if not let me know and I'll fix it).
-- John Dennis <jdennis@redhat.com>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
J Santos wrote:
Thank you Dennis,
It is a very, very useful document.
Checking both distros RHEL and CentOS there are only old packages available (version 1.1.3) and only i386.
I have a rpm already built but it is not properly working.
Based on what you described in the doc I better install the old version and then
yum upgrade freeradius Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: mirror.voxitas.com * updates: ftp.telus.net * addons: mirrors.cat.pdx.edu * extras: yum.singlehop.com Setting up Upgrade Process Could not find update match for freeradius No Packages marked for Update
As you can see there is no update available.
So I am in the worst situation and have no choice other that rpmbuild. I am on CentOS 64 and I need Mysql.
The link you have provided in the doc is for fedora only.
Could you please inform from where I can get the spec file for CentOS 64 with MySql ?
Well, the first test of the documentation has apparently failed ;-) I'll update it to make it clearer. You need to build the Fedora version on your CentOS system. You need to take the SRPM (which contains the the spec file) from Fedora (because it's current) and install it on your CentOS system, then perform a rpmbuild. What this is doing is building the current version locally, but observing all the requirements of the local target system. -- John Dennis <jdennis@redhat.com>
Hi,
There has been a fair amount of confusion over how to get FreeRADIUS packages for Fedora, RHEL, and CentOS, how to perform a build if a pre-built package is not available, and how to do some basic maintenance tasks.
it would help immensely if Fedora, RHEL, CentOS et al actually supplied up to date version of FreeRADIUS - ie at least 2.0.5 (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!) if such a version was available via yum/up2date then almost all queries for how to build source on such distros would disappear alan
A.L.M.Buxey@lboro.ac.uk wrote:
it would help immensely if Fedora, RHEL, CentOS et al actually supplied up to date version of FreeRADIUS - ie at least 2.0.5 (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!)
The main "download" page on freeradius.org has a link to: http://koji.fedoraproject.org/koji/packageinfo?packageID=298 Which has RPMs of recent versions. But who reads the web page? Alan DeKok.
Hi,
The main "download" page on freeradius.org has a link to:
http://koji.fedoraproject.org/koji/packageinfo?packageID=298
Which has RPMs of recent versions. But who reads the web page?
your typical rh/fed/centos user would never visit the homepage of the program/utility they are using....they'd use up2date or yum to search and install the package...they *might* read the docs in /usr/share/ they might even 'man' the program. therefore if the package isnt in the distro repository, then that is when the fun and games begin. note, i said typical ;-) alan
On Tue, Dec 02, 2008 at 09:18:25AM +0000, A.L.M.Buxey@lboro.ac.uk wrote:
it would help immensely if Fedora, RHEL, CentOS et al actually supplied up to date version of FreeRADIUS - ie at least 2.0.5 (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!)
if such a version was available via yum/up2date then almost all queries for how to build source on such distros would disappear
OK, I can't resist reacting again: RHEL (and thus CentOS) are conservative "enterprise" distros and thus do *not* include the newest ("bleeding edge") release of everything as soon as it comes out. They want to stay compatible through the 7 (!) years of support time. This is how it is and this is, in principle, a good idea (for that purpose). Exceptions are made (Firefox 3 is included now) and security bugs are fixed via backports. But if FreeRADIUS would be bumped to a higher release, there will probably be incompatibilities that are, in principe, not acceptable. Fedora has a different policy and *does* include recent releases *now* (in fact, these RPMs were built on November 25): F9 *and* F10 have 2.2.1. If you have the need for a newer release on RHEL/CentOS, the best recipe is to take a Fedora src.rpm and rebuild it on your RHEL/CentOS version. This might require some changes (and some knowledge about RPM and other things). Packaging software for a distro means *integrating* the software in the distro (examples are changes to init scripts, compliance with local packaging standards, etc.) so it's better to start with the Fedora package, being part of the "Red Hat family of distros", than with the generic FreeRADIUS RPM (this applies to almost all software). B.t.w. if there is the need for a more "neutral" version of this story for a FAQ or wiki, I'm happy to write that. It's really important that people understand the philosophy of distros. -- -- Jos Vos <jos@xos.nl> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204
Jos Vos wrote:
RHEL (and thus CentOS) are conservative "enterprise" distros and thus do *not* include the newest ("bleeding edge") release of everything as soon as it comes out. They want to stay compatible through the 7 (!) years of support time. This is how it is and this is, in principle, a good idea (for that purpose). Exceptions are made (Firefox 3 is included now) and security bugs are fixed via backports. But if FreeRADIUS would be bumped to a higher release, there will probably be incompatibilities that are, in principe, not acceptable.
It should be easier for *new* installs to use 2.x. Otherwise, they install the "latest" RHEL version, and then get told to upgrade. The RedHat FAQ page on the Wiki should help a lot. Alan DeKok.
On Tue, Dec 02, 2008 at 10:47:08AM +0100, Alan DeKok wrote:
It should be easier for *new* installs to use 2.x. Otherwise, they install the "latest" RHEL version, and then get told to upgrade.
This is unrealistic. How should RH maintain a "sliding" base? And what does "RHEL5" mean if the version you have installed depends on the time of installation? And what about large customers having many servers installed and now install another one (with a different version)?
From what I've seen, the FreeRADIUS community is the only one where the philosophy of conservative distros is tried to be ignored.
Note that I have chosen myself to run a new(er) version of FreeRADIUS on an installed base of RHEL4 servers, by "backporting" a recent Fedora src.rpm to RHEL4. So I *do* see the need in some situations for having a new version. But that's not the fault of Red Hat, it's just the way it works. Having said this, I think the frequency of new RHEL versions (4->5 was 2 years and 5->6 will be longer, as 5 is nearly 2 years old and there is no RHEL6 beta yet) is too long. Software is just getting too old that way if you want to stick to vendor-supplied versions. -- -- Jos Vos <jos@xos.nl> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204
Jos Vos wrote:
On Tue, Dec 02, 2008 at 10:47:08AM +0100, Alan DeKok wrote:
It should be easier for *new* installs to use 2.x. Otherwise, they install the "latest" RHEL version, and then get told to upgrade.
This is unrealistic. How should RH maintain a "sliding" base?
I didn't say "include new software with old RHEL versions". I said "easier to install new software". The RedHat FAQ page on the Wiki helps with that.
And what does "RHEL5" mean if the version you have installed depends on the time of installation? And what about large customers having many servers installed and now install another one (with a different version)?
If that's what they do... then that's what they get. It's *their* problem. It's not *our* problem, and it's not a *RedHat* problem.
Note that I have chosen myself to run a new(er) version of FreeRADIUS on an installed base of RHEL4 servers, by "backporting" a recent Fedora src.rpm to RHEL4. So I *do* see the need in some situations for having a new version. But that's not the fault of Red Hat, it's just the way it works.
Yes... and the people who *can't* backport the spec files have been asking a lot of questions on this list. Hence the RedHat FAQ on the Wiki. Alan DeKok.
Jos Vos wrote:
On Tue, Dec 02, 2008 at 09:18:25AM +0000, A.L.M.Buxey@lboro.ac.uk wrote:
it would help immensely if Fedora, RHEL, CentOS et al actually supplied up to date version of FreeRADIUS - ie at least 2.0.5 (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!)
if such a version was available via yum/up2date then almost all queries for how to build source on such distros would disappear
OK, I can't resist reacting again:
RHEL (and thus CentOS) are conservative "enterprise" distros and thus do *not* include the newest ("bleeding edge") release of everything as soon as it comes out. They want to stay compatible through the 7 (!) years of support time. This is how it is and this is, in principle, a good idea (for that purpose). Exceptions are made (Firefox 3 is included now) and security bugs are fixed via backports. But if FreeRADIUS would be bumped to a higher release, there will probably be incompatibilities that are, in principe, not acceptable.
Fedora has a different policy and *does* include recent releases *now* (in fact, these RPMs were built on November 25): F9 *and* F10 have 2.2.1.
If you have the need for a newer release on RHEL/CentOS, the best recipe is to take a Fedora src.rpm and rebuild it on your RHEL/CentOS version. This might require some changes (and some knowledge about RPM and other things).
Packaging software for a distro means *integrating* the software in the distro (examples are changes to init scripts, compliance with local packaging standards, etc.) so it's better to start with the Fedora package, being part of the "Red Hat family of distros", than with the generic FreeRADIUS RPM (this applies to almost all software).
B.t.w. if there is the need for a more "neutral" version of this story for a FAQ or wiki, I'm happy to write that. It's really important that people understand the philosophy of distros.
Thank you Jos, this is a very good explanation. I tried to allude to the philosophy of the different distributions but was too brief for it to be clear. I'll update the FAQ and if you don't mind I'll borrow some of your words. Please feel free to update the wiki yourself (you'll have to request a wiki account) or send it to me directly. It really is critical folks understand the philosophy of the RHEL/CentOS distributions, it drives many of the release decisions. The current version of FreeRADIUS in RHEL5/CentOS is 1.1.3. It is very unlikely the 1.1.3 version will ever be removed from RHEL5 because of the commitment for version stability in an enterprise distribution. On the other hand we recognize peoples desire for a more current (e.g. 2.1) version of FreeRADIUS in RHEL5. The only way that can happen is for us to provide a new FreeRADIUS package under a new and different name because it cannot replace the existing 1.1.3 FreeRADIUS package. I am working to make this happen, but because this is an exception to the rules of the distribution it requires a fair amount of management buy-in and sheparding through a convoluted set of procedures. I cannot make a promise this will happen but I'm trying to get this approved for the RHEL 5.4 update which is still a fair ways out. In the mean time, RHEL/CentOS user's most productive course of action if they want a 2.1 version of FreeRADIUS is to build the RPM's themselves on their RHEL/CentOS systems. This is one of the reasons I wrote the FAQ, to provide you with instructions on how to build the RPM's yourself. HTH, John -- John Dennis <jdennis@redhat.com>
Hi,
The current version of FreeRADIUS in RHEL5/CentOS is 1.1.3. It is very unlikely the 1.1.3 version will ever be removed from RHEL5 because of the commitment for version stability in an enterprise distribution. On
whoah. apart from the fact that 1.1.3 had so many bugs and doesnt work with Vista - and 1.1.5 had a remote attack/DoS method. i know RH have a really nasty habit of backporting later bits back to previous versions (aaargh!) however, there is no valid reason even in this 'enterprise view' for the latest 1.1.x stable release which is config file etc compatible to not be the standard release in the distro. they certainly dont hold back that much with eg apache or BIND releases. so, why isnt 1.1.7 the chosen version for these distros. time? effort?
In the mean time, RHEL/CentOS user's most productive course of action if they want a 2.1 version of FreeRADIUS is to build the RPM's themselves on their RHEL/CentOS systems. This is one of the reasons I wrote the FAQ, to provide you with instructions on how to build the RPM's yourself.
agreed. good work. alan
John Dennis wrote:
There has been a fair amount of confusion over how to get FreeRADIUS packages for Fedora, RHEL, and CentOS, how to perform a build if a pre-built package is not available, and how to do some basic maintenance tasks.
So I've created a new FreeRADIUS wiki page with Red Hat specific information:
Thanks. I've added a file "redhat/README" telling people to please go read that document. Alan DeKok.
On Tue, Dec 02, 2008 at 10:28:40AM +0100, Alan DeKok wrote:
John Dennis wrote:
So I've created a new FreeRADIUS wiki page with Red Hat specific information:
Thanks. I've added a file "redhat/README" telling people to please go read that document.
OK, I did miss John's message. Great. I'll take a look at it and maybe I have some additional suggestions. -- -- Jos Vos <jos@xos.nl> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204
Alan DeKok wrote:
Thanks. I've added a file "redhat/README" telling people to please go read that document.
You're welcome. It's a good start and I hope it helps. FWIW we try to make sure the thousands of software packages in our distributions are well supported, it can be a daunting task but thank goodness for the contributions of the community without which none of it would be possible. You should take pride with your own contributions which are enormous. Thank you. -- John Dennis <jdennis@redhat.com>
John Dennis wrote:
Alan DeKok wrote:
Thanks. I've added a file "redhat/README" telling people to please go read that document.
You're welcome. It's a good start and I hope it helps. FWIW we try to make sure the thousands of software packages in our distributions are well supported, it can be a daunting task but thank goodness for the contributions of the community without which none of it would be possible. You should take pride with your own contributions which are enormous. Thank you.
opps, finger fumble :-) That reply was meant to go to Alan directly and not the list. -- John Dennis <jdennis@redhat.com>
Hi, I 've followed the faq instructions and I have now the following packages available. freeradius-2.1.1-7.x86_64.rpm freeradius-perl-2.1.1-7.x86_64.rpm freeradius-devel-2.1.1-7.x86_64.rpm freeradius-postgresql-2.1.1-7.x86_64.rpm freeradius-krb5-2.1.1-7.x86_64.rpm freeradius-python-2.1.1-7.x86_64.rpm freeradius-ldap-2.1.1-7.x86_64.rpm freeradius-unixODBC-2.1.1-7.x86_64.rpm freeradius-libs-2.1.1-7.x86_64.rpm freeradius-utils-2.1.1-7.x86_64.rpm freeradius-mysql-2.1.1-7.x86_64.rpm When trying to install rpm -ivh freeradius-2.1.1-7.x86_64.rpm error: Failed dependencies: libfreeradius-eap-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64 libfreeradius-radius-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64 Shouldn't these libs be included in the package ? Thanks Jair Santos
-----Original Message----- From: freeradius-users-bounces+jsantos5954=gmail.com@lists.freeradiu s.org [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f reeradius.org] On Behalf Of John Dennis Sent: Monday, December 01, 2008 3:56 PM To: FreeRadius users mailing list Subject: Building & Installing on Red Hat Systems (Was: Make error - Solved)
There has been a fair amount of confusion over how to get FreeRADIUS packages for Fedora, RHEL, and CentOS, how to perform a build if a pre-built package is not available, and how to do some basic maintenance tasks.
So I've created a new FreeRADIUS wiki page with Red Hat specific information:
http://wiki.freeradius.org/Red_Hat_FAQ
If you discover the information is incomplete or in error please let me know and I'll update it.
I will reiterate what has been expressed in several recent threads, if you need to build and/or install FreeRADIUS for Fedora, RHEL, or CentOS your pain threshold will be greatly diminished if you use RPM's developed and distributed for Red Hat systems rather than trying to build from the raw source tarball. The reasons and procedures are hopefully sufficiently well explained in the FAQ (if not let me know and I'll fix it).
-- John Dennis <jdennis@redhat.com>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Install the freeradius-libs first.
rpm -ivh freeradius-2.1.1-7.x86_64.rpm error: Failed dependencies: libfreeradius-eap-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64 libfreeradius-radius-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64
On Wed, Dec 03, 2008 at 09:44:08AM -0800, J Santos wrote:
I 've followed the faq instructions and I have now the following packages available.
freeradius-2.1.1-7.x86_64.rpm freeradius-perl-2.1.1-7.x86_64.rpm freeradius-devel-2.1.1-7.x86_64.rpm freeradius-postgresql-2.1.1-7.x86_64.rpm freeradius-krb5-2.1.1-7.x86_64.rpm freeradius-python-2.1.1-7.x86_64.rpm freeradius-ldap-2.1.1-7.x86_64.rpm freeradius-unixODBC-2.1.1-7.x86_64.rpm freeradius-libs-2.1.1-7.x86_64.rpm freeradius-utils-2.1.1-7.x86_64.rpm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
freeradius-mysql-2.1.1-7.x86_64.rpm
When trying to install
rpm -ivh freeradius-2.1.1-7.x86_64.rpm error: Failed dependencies: libfreeradius-eap-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64 libfreeradius-radius-2.1.1.so()(64bit) is needed by freeradius-2.1.1-7.x86_64
Shouldn't these libs be included in the package ?
Install all packages you need in one step. -- -- Jos Vos <jos@xos.nl> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204
participants (10)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Ben Little -
Greg Woods -
J Santos -
John Dennis -
Jos Vos -
NiTr0 -
Olavo -
Ted Lum