On Thu, Oct 18, 2012 at 5:18 PM, QASIM RAO <qasim2...@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

Reply via email to