Re: error: Failed dependencies: libeap-1.1.2.so is needed by freeradius-1.1.2-0.i386
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
participants (1)
-
bt4@york.ac.uk