How to link to openssl if two versions of libssl are on the system, when building FreeRadius on Debian wheezy 7.4?

Rani Ahmed ranixlb at gmail.com
Fri May 16 16:37:00 CEST 2014


thank you all for this quick response.. i'll try to move to version 3


On Fri, May 16, 2014 at 4:03 PM, Alan DeKok <aland at deployingradius.com>wrote:

> Rani Ahmed wrote:
> > I did build from tar.gz file,  OpenSSL 1.0.1*g *and installed it on
> > /usr/local/ . This is the default --prefix in the ./config of OpenSSL
> > I built freeradius using the following configure command :
> >
> > ./configure --with-openssl-includes=/usr/local/ssl
> > --with-openssl-libraries=/usr/local/ssl/lib
>
>   That should generally work.
>
> > Also, I did tell ldconfig in /etc/ld.so.conf about the path
> "/usr/local/ssl/lib" just to make freeradius use OpenSSL 1.0.1g , I still
> get it from /usr/lib instead..
> >
> > So how should I exactly link it to 1.0.1g?
>
>   In version 2.2, you don't.  Sorry.  The reason is libtool.  We use
> libtool as a cross-platform linker.  However... it decides randomly to
> re-write link targets, based on it's own bizarre ideas about what to do.
>
>   In version 3, we've gotten rid of libtool.  As a result, your scenario
> works there.  I use it that way every day.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140516/49500184/attachment.html>


More information about the Freeradius-Users mailing list