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.