Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-30 Thread Kevin Bonner
On Thursday 29 June 2006 01:49, Alberto Cruz wrote:
 Hi Kevin and everybody.

 I'm attaching a file with all the warnings that I got with the rpmbuild
 process.

 It seems there is something wrong with the libtool

 Is this a problem related to RedHAT Enterprise 4.0 or is this a problem
 with the Make files process? Could anybody help me to fix this behavior?

 Regards

 Alberto Cruz

On my CentOS 4 test box, I tried building the 1.1.2 RPM and received the same 
errors I see in your output file.  I used the --with-system-libtool 
configure option to get the RPM build to work correctly.  My system libtool 
version is 1.5.6, and I've has no RPM build issues on older Fedora/CentOS 
boxes with system libtool versions of 1.5.X.

According to bug#330, someone tried building on CentOS 4 and had problems 
using the system libtool and GNU ld configure options, so those options were 
removed.

Kevin Bonner


pgpdRNRLhzZub.pgp
Description: PGP signature
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-13 Thread bt4

On Friday 09 June 2006 17:19, Alberto Cruz wrote:
These is the output from the commands:
[root at cdr i386]# rpm -qp --provides freeradius-1.1.2-0.i386.rpm
config(freeradius) = 1.1.2-0
libradius-1.1.2.so
libradius-1.1.2.so.debug
radiusd
rlm_sql_mysql-1.1.2.so
rlm_sql_mysql-1.1.2.so.debug
freeradius = 1.1.2-0


That is a very short list. There should be lots of rlm_ modules listed, 
not just mysql. Look for any warnings/errors when you try to build the 
RPM, or specifically the rlm_eap module. My guess is that you're being 
hit by the same libtool problem I've run into when trying to build an RPM 
on my CentOS 4 box.


Kevin Bonner


Could this be the problem :-


if [ xrlm_eap != x ]; then \
   /usr/src/redhat/BUILD/freeradius-1.1.2/libtool --mode=install 
/usr/src/redhat/BUILD/freeradius-1.1.2/install-sh -c -c \

   rlm_eap.la /var/tmp/freeradius-root/usr/lib/rlm_eap.la || exit $?; \
   rm -f /var/tmp/freeradius-root/usr/lib/rlm_eap-1.1.2.la; \
   ln -s rlm_eap.la /var/tmp/freeradius-root/usr/lib/rlm_eap-1.1.2.la || 
exit $?; \ fi libtool: install: warning: relinking `rlm_eap.la' (cd 
/usr/src/redhat/BUILD/freeradius-1.1.2/src/modules/rlm_eap; /bin/sh 
/usr/src/redhat/BUILD/freeradius-1.1.2/libtool --mode=relink gcc -release 
1.1.2 -module -export-dynamic -o rlm_eap.la -rpath /usr/lib rlm_eap.lo 
eap.lo mem.lo state.lo rlm_eap.c eap.c mem.c state.c 
/usr/src/redhat/BUILD/freeradius-1.1.2/src/lib/libradius.la 
libeap/libeap.la -lltdl -lnsl -lresolv -lpthread) gcc -shared rlm_eap.lo 
eap.lo mem.lo state.lo 
-L/usr/src/redhat/BUILD/freeradius-1.1.2/src/lib/.libs -L/usr/lib -lradius 
-leap -lltdl -lnsl -lresolv -lpthread -Wl,-soname -Wl,rlm_eap-1.1.2.so -o 
.libs/rlm_eap-1.1.2.so /usr/bin/ld: cannot find -leap collect2: ld returned 
1 exit status libtool: install: error: relink `rlm_eap.la' with the above 
command before installing it libtool: install: warning: remember to run 
`libtool --finish /usr/lib' gmake[6]: Leaving directory 
`/usr/src/redhat/BUILD/freeradius-1.1.2/src/modules/rlm_eap'



--
Ben Thompson
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-13 Thread Kevin Bonner
On Monday 12 June 2006 23:41, Alberto Cruz wrote:
 How do you fix your problem? Should I add something else to the
 freeradius.spec or should I have to include something else?

My libtool problem may or may not be related, which is why I've excluded my 
fix from all responses (if you really want to know, look at the -devel 
list).

You have posted some info and have received several responses saying your RPM 
is broken.  The problem most likely lies with your RPM build step.  Build the 
RPM again and look at the output for those errors/warnings.  If you can't 
find any, post the output so that we can see what is happening.

Kevin Bonner


pgpWbY50IrbHJ.pgp
Description: PGP signature
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-12 Thread Kevin Bonner
On Friday 09 June 2006 17:19, Alberto Cruz wrote:
 These is the output from the commands:
 [EMAIL PROTECTED] i386]# rpm -qp --provides freeradius-1.1.2-0.i386.rpm
 config(freeradius) = 1.1.2-0
 libradius-1.1.2.so
 libradius-1.1.2.so.debug
 radiusd
 rlm_sql_mysql-1.1.2.so
 rlm_sql_mysql-1.1.2.so.debug
 freeradius = 1.1.2-0

That is a very short list.  There should be lots of rlm_ modules listed, not 
just mysql.  Look for any warnings/errors when you try to build the RPM, or 
specifically the rlm_eap module.  My guess is that you're being hit by the 
same libtool problem I've run into when trying to build an RPM on my CentOS 4 
box.

Kevin Bonner


pgpR6BfHT2s8p.pgp
Description: PGP signature
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-12 Thread Alberto Cruz




How do you fix your problem? Should I add something else to the
freeradius.spec or should I have to include something else?

Hi Aland Dekok , is this is a bug for the RPM build process for RedHat
Enterprise 4.0?

Regards

Alberto Cruz

Kevin Bonner wrote:

  On Friday 09 June 2006 17:19, Alberto Cruz wrote:
  
  
These is the output from the commands:
[EMAIL PROTECTED] i386]# rpm -qp --provides freeradius-1.1.2-0.i386.rpm
config(freeradius) = 1.1.2-0
libradius-1.1.2.so
libradius-1.1.2.so.debug
radiusd
rlm_sql_mysql-1.1.2.so
rlm_sql_mysql-1.1.2.so.debug
freeradius = 1.1.2-0

  
  
That is a very short list.  There should be lots of rlm_ modules listed, not 
just mysql.  Look for any warnings/errors when you try to build the RPM, or 
specifically the rlm_eap module.  My guess is that you're being hit by the 
same libtool problem I've run into when trying to build an RPM on my CentOS 4 
box.

Kevin Bonner
  
  

- 
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: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-10 Thread Phil Mayers

Alberto Cruz wrote:


As you can see the RPM is not providing the libeap-1.1.2.so

What is wrong?



The RPM is broken. As Alan says, libeap comes with the server. What does:

rpm -ql | grep eap

...give? I suspect libeap won't be there, and thus the .spec file was 
broken and did not package it. Look to the .spec file to fix it.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-09 Thread Alberto Cruz
Hi everybody. I'm trying to install the RPM file that I built for RedHat 
Entrerprise 4.0 (RHEL4) and Freeradius 1.1.2


When I tried the command I'm getting the following error:
error: Failed dependencies:
   libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

Do I need to install something else before the freeradius RPM file?
Should I had added a prefix/option at the time of build the RPM packet 
in order to include the libeap-1.1.2 libray?


Regards

Alberto Cruz

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-09 Thread Alan DeKok
Alberto Cruz [EMAIL PROTECTED] wrote:
 When I tried the command I'm getting the following error:
 error: Failed dependencies:
 libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

  libeap is included with the server, and is installed with it.

  Alan DEKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-09 Thread Kevin Bonner
On Friday 09 June 2006 11:34, Alberto Cruz wrote:
 Hi everybody. I'm trying to install the RPM file that I built for RedHat
 Entrerprise 4.0 (RHEL4) and Freeradius 1.1.2

 When I tried the command I'm getting the following error:
 error: Failed dependencies:
 libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

 Do I need to install something else before the freeradius RPM file?
 Should I had added a prefix/option at the time of build the RPM packet
 in order to include the libeap-1.1.2 libray?

 Regards

 Alberto Cruz

Can you provide the output to the following commands?

rpm -qp --provides freeradius-1.1.2-0.i386.rpm
rpm -qp --requires freeradius-1.1.2-0.i386.rpm

Thanks,
Kevin Bonner


pgpinUL0lEltY.pgp
Description: PGP signature
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-09 Thread Alberto Cruz




Hi Alan DeKok.

I'm installing the Freeradius with a RPM packet that I built from the
TAR file.

Do I need to specific or add a parameter at the time when I execute the
"rmpbuild -bb redhat.spec" command in order to include the libeap?

Regards

Alberto Cruz
Alan DeKok wrote:

  Alberto Cruz [EMAIL PROTECTED] wrote:
  
  
When I tried the command I'm getting the following error:
error: Failed dependencies:
    libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

  
  
  libeap is included with the server, and is installed with it.

  Alan DEKok.
- 
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: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

2006-06-09 Thread Alberto Cruz




These is the output from the commands:
[EMAIL PROTECTED] i386]# rpm -qp --provides freeradius-1.1.2-0.i386.rpm
config(freeradius) = 1.1.2-0
libradius-1.1.2.so
libradius-1.1.2.so.debug
radiusd
rlm_sql_mysql-1.1.2.so
rlm_sql_mysql-1.1.2.so.debug
freeradius = 1.1.2-0

[EMAIL PROTECTED] i386]# rpm -qp --requires freeradius-1.1.2-0.i386.rpm
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/sbin/chkconfig
/usr/bin/perl
config(freeradius) = 1.1.2-0
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.2)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libcrypt.so.1
libcrypt.so.1(GLIBC_2.0)
libcrypto.so.4
libdl.so.2
libeap-1.1.2.so
libgdbm.so.2
libltdl.so.3
libm.so.6
libmysqlclient_r.so.14
libnsl.so.1
libpthread.so.0
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2)
libradius-1.1.2.so
libresolv.so.2
libssl.so.4
libz.so.1
perl(DBI)
perl(Fcntl)
perl(Getopt::Std)
perl(POSIX)
perl(strict)
perl(warnings)
rpmlib(CompressedFileNames) = 3.0.4-1
rpmlib(PayloadFilesHavePrefix) = 4.0-1

As you can see the RPM is not providing the libeap-1.1.2.so

What is wrong?

Regards

Alberto Cruz
Kevin Bonner wrote:

  On Friday 09 June 2006 11:34, Alberto Cruz wrote:
  
  
Hi everybody. I'm trying to install the RPM file that I built for RedHat
Entrerprise 4.0 (RHEL4) and Freeradius 1.1.2

When I tried the command I'm getting the following error:
error: Failed dependencies:
libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386

Do I need to install something else before the freeradius RPM file?
Should I had added a prefix/option at the time of build the RPM packet
in order to include the libeap-1.1.2 libray?

Regards

Alberto Cruz

  
  
Can you provide the output to the following commands?

rpm -qp --provides freeradius-1.1.2-0.i386.rpm
rpm -qp --requires freeradius-1.1.2-0.i386.rpm

Thanks,
Kevin Bonner
  
  

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html