Problem compiling Freeradius 3.0 Master branch after 2012-06-29
Alan DeKok
aland at deployingradius.com
Wed Jul 18 19:42:54 CEST 2012
YJZ wrote:
> 1) ./configure keeps complaining of:
> configure: WARNING: unrecognized options: --without-rlm_perl, --without-rlm_sql_mysql, --with-rlm_pam, --with-rlm_ldap, --with-openldap-include-dir, --without-rlm_counter, --without-rlm_dbm, --without-rlm_ippool, --without-rlm_krb5, --without-rlm_otp, --without-rlm_python, --without-rlm_sql, --without-rlm_unixodbc, --without-rlm_sql_iodbc, --without-rlm_sql_postgresql, --without-rlm_sql_oracle, --without-rlm_sqlcounter, --without-rlm_sqlippool, --without-rlm_eap_tnc, --without-rlm_eap_ikev2, --enable-shared, --disable-static, --enable-ltdl-install
I have no idea what causes that. It can be ignored, though.
> 2) "make" eventually errors out:
> ...
> Making all in src/modules/rlm_sometimes...
> Making all in src/main...
> /Users/raymont/freeradius-server/libtool --quiet --mode=link gcc -export-dynamic -dlopen self \
> -o radiusd acct.lo auth.lo client.lo conffile.lo crypt.lo exec.lo files.lo listen.lo log.lo mainconfig.lo modules.lo modcall.lo radiusd.lo stats.lo soh.lo connection.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo process.lo realms.lo evaluate.lo vmps.lo detail.lo cb.lo tls.lo tls_listen.lo \
> /Users/raymont/freeradius-server/src/lib/libfreeradius-radius.la -framework DirectoryService -lresolv -lpthread \
> /Users/raymont/freeradius-server/libltdl/libltdl.la -lcrypto -lssl -lcrypto
> Undefined symbols for architecture x86_64:
> "_SSL_CTX_set_psk_client_callback", referenced from:
> _init_tls_ctx in tls.o
> "_SSL_CTX_set_psk_server_callback", referenced from:
> _init_tls_ctx in tls.o
You have two versions of OpenSSL installed. Fix that.
Edit Make.inc. Look for lines referencing OPENSSL, and fix them to
have the correct C compiler / linker flags.
Alan DeKok.
More information about the Freeradius-Users
mailing list