can not build FreeRadius 2.2.0

Eugen Konkov kes-kes at yandex.ru
Sat Dec 15 21:21:41 CET 2012


Здравствуйте, Alan.

Вы писали 15 декабря 2012 г., 19:08:39:

AD> Eugen Konkov wrote:
>> Building freeradiusd on
>> # uname -a
>> FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 2012     adm at aki:/usr/obj/usr/src/sys/AKI  i386
>> 
>> get this error:
AD> ..."
>> libtool: link: cc .libs/radiusdS.o -pthread -static -o radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/soh.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic  ../modules/rlm_acctlog/.libs/rlm_acctlog.a -L/usr/local/lib ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a ../modules/rlm_cache/.libs/rlm_cache.a ../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a ../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_counter/.libs/rlm_counter.a ../modules/rlm_dbm/.libs/rlm_dbm.a ../modules/
 r
AD> lm_detail/.libs/rlm_detail.a
AD> ../modules/rlm_digest/.libs/rlm_digest.a
AD> ../modules/rlm_dynamic_clients/.libs/rlm_dynamic_clients.a
AD> ../modules/rlm_eap/.libs/rlm_eap.a
AD> ../modules/rlm_exec/.libs/rlm_exec.a
AD> ../modules/rlm_expiration/.libs/rlm_expiration.a
AD> ../modules/rlm_expr/.libs/rlm_expr.a
AD> ../modules/rlm_fastusers/.libs/rlm_fastusers.a
AD> ../modules/rlm_files/.libs/rlm_files.a
AD> ../modules/rlm_ippool/.libs/rlm_ippool.a /usr/local/lib/libgdbm.so
AD> ../modules/rlm_linelog/.libs/rlm_linelog.a
AD> ../modules/rlm_logintime/.libs/rlm_logintime.a
AD> ../modules/rlm_mschap/.libs/rlm_mschap.a
AD> ../modules/rlm_otp/.libs/rlm_otp.a
AD> ../modules/rlm_pam/.libs/rlm_pam.a -lpam
AD> ../modules/rlm_pap/.libs/rlm_pap.a
AD> ../modules/rlm_passwd/.libs/rlm_passwd.a
AD> ../modules/rlm_perl/.libs/rlm_perl.a
AD> -L/usr/local/lib/perl5/5.12.4/mach/CORE -lperl -lm -lutil
AD> ../modules/rlm_policy/.libs/rlm_policy.a
AD> ../modules/rlm_preprocess/.libs/rlm_preprocess.a
AD> ../modules/rlm_radutmp/.libs/rlm_radutmp.a
AD> ../modules/rlm_realm/.libs/rlm_realm.a 
AD> ../modules/rlm_replicate/.libs/rlm_replicate.a
AD> ../modules/rlm_soh/.libs/rlm_soh.a
AD> ../modules/rlm_sql/.libs/rlm_sql.a
AD> ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a
AD> ../modules/rlm_sqlippool/.libs/rlm_sqlippool.a
AD> ../modules/rlm_sql_log/.libs/rlm_sql_log.a
AD> ../modules/rlm_unix/.libs/rlm_unix.a
AD> ../modules/rlm_wimax/.libs/rlm_wimax.a
AD> ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a
AD> ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a
AD> ../modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a
AD> ../modules/rlm_eap/types/rlm_eap_ttls/.libs/rlm_eap_ttls.a
AD> ../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a
AD> ../modules/rlm_eap/types/rlm_eap_peap/.libs/rlm_eap_peap.a
AD> /usr/ports/net/freeradius2/work/freeradius-server-2.2.0/src/modules/rlm_eap/libeap/.libs/libfreeradius-eap.a
AD> ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a
AD> ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a
AD> ../modules/rlm_eap/libeap/.libs/libfreeradius-eap.a /usr/ports/net/freeradius
AD> 2/work/freeradius-server-2.2.0/src/lib/.libs/libfreeradius-radius.a
AD> -lpthread -lcrypt /usr/local/lib/libltdl.so -lssl -lcrypto
AD> -pthread  -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
>> /usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libgdbm.so'

AD>   Don't do "./configure --disable-shared"

AD>   Alan DeKok.

I do same as on FreeBSD 9:
cd /usr/ports/net/freeradius2
make install clean


-- 
С уважением,
 Eugen                          mailto:kes-kes at yandex.ru



More information about the Freeradius-Users mailing list