Problem compiling Freeradius 3.0 Master branch after 2012-06-29

YJZ kurbelei at ist-willig.de
Thu Jul 19 04:34:35 CEST 2012


> > 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.
> -

Thank you. After straightening out the paths to openssl lib & include, I'm now able to compile FR 3.0 successfully.


Best Regards,

Y.J. Zhang


More information about the Freeradius-Users mailing list