This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc
- From: "Jair Santos" <jsantos4567 at shaw dot ca>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 9 Oct 2008 14:37:34 -0700
- Subject: gcc
Hello,
I am trying to install freeradius on RedHat Entreprise 5.2, 64 bits.
I guess I am getting the following error because the compiler/linker is not
getting the proper readline 64.
gmake[4]: Entering directory `/usr/src/freeradius-server-2.1.1/src/main'
/usr/src/freeradius-server-2.1.1/libtool --mode=link gcc -o radmin
radmin.lo /usr/lib/libreadline.so /usr/lib/libtermcap.so
/usr/src/freeradius-server-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/lib/libtermcap.so .libs/util.o .libs/log.o .libs/conffile.o
/usr/src/freeradius-server-2.1.1/src/lib/.libs/libfreeradius-radius.so -lnsl
-lresolv -lpthread -lreadline -ltermcap -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libreadline.so: could not read symbols: File in wrong format
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
[root@maui freeradius-server-2.1.1]#
I do have the lib in my system
lib64]# ls -al librea*
-rw-r--r-- 1 root root 456380 Jul 12 2006 libreadline.a
lrwxrwxrwx 1 root root 16 Sep 2 17:07 libreadline.so ->
libreadline.so.5
lrwxrwxrwx 1 root root 18 Sep 2 17:00 libreadline.so.5 ->
libreadline.so.5.1
-rwxr-xr-x 1 root root 247160 Jul 12 2006 libreadline.so.5.1
[root@maui lib64]#
Can you help me with this ?
Jair Santos