Sir i use this command while configuring and it works ./configure --disable-libltdl-install --with-system-libtool but i want to know i some servers i just use "./configure" command and it works but in some it does not . so where is the problem acctually occurs in server or in my radius package.. ??? Thanks,
Date: Thu, 18 Oct 2012 17:28:55 +0700 Subject: Re: radius Installation error From: list@fajar.net To: freeradius-users@lists.freeradius.org
On Thu, Oct 18, 2012 at 5:18 PM, QASIM RAO <qasim2490@hotmail.com> wrote:
hi,
i am facing a problem in radius installation on red hat 5
this error displays while running "make" command
resolv -lpthread -Wl,-soname -Wl,rlm_eap-1.1.6.so -o .libs/rlm_eap-1.1.6.so /usr/lib/libltdl.so: could not read symbols: File in wrong format
Hmmm ... what is your configure line?
IIRC by default FR should use it's own libtool and libltdl, so it shouldn't use system one.
Or, you can try using the same configure line as in RPM SPEC:
%configure \ --libdir=%{_libdir}/freeradius \ --with-system-libtool \ --with-system-libltdl \ --disable-ltdl-install \ --with-udpfromto \ --with-gnu-ld \ --with-threads \ --with-thread-pool \ --with-docdir=%{docdir} \ --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \ --with-rlm-sql-postgresql-lib-dir=%{_libdir} \ --with-rlm-sql_mysql-include-dir=/usr/include/mysql \ --with-mysql-lib-dir=%{_libdir}/mysql \ --with-unixodbc-lib-dir=%{_libdir} \ --with-rlm-dbm-lib-dir=%{_libdir} \ --with-rlm-krb5-include-dir=/usr/kerberos/include \ --with-modules="rlm_wimax" \ --without-rlm_eap_ikev2 \ --without-rlm_sql_iodbc \ --without-rlm_sql_firebird \ --without-rlm_sql_db2 \ --without-rlm_sql_oracle
(replacing the values for %{_*dir} manually as appropriate, of course)
Or better yet, just use the included redhat/freeradius.spec, and othe files on that directory, to build your FR-2.2.0 RPM :D
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html