Try setting LD_LIBRARY_PATH to your local installation before running your program: export LD_LIBRARY_PATH=/alternate/path/usr/lib On Mon, Dec 15, 2014 at 5:15 AM, Jerry OELoo <oyljerry at gmail.com> wrote: > > Hi All: > I am installing openssl in local path, and when I use > SSLeay_version(SSLEAY_VERSION); to get version, it will return "SSL > version: OpenSSL 1.0.1f 6 Jan 2014", But installed version is 1.0.1j. > > It seems to get system installed version not my manually installed > version, So How can I get it. > PS. I have added include path to gcc: -I./openssl/include/openssl > > > -- > Rejoice,I Desire! > _______________________________________________ > openssl-users mailing list > openssl-users at openssl.org > https://mta.opensslfoundation.net/mailman/listinfo/openssl-users > -- Chris Bare -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.opensslfoundation.net/pipermail/openssl-users/attachments/20141215/3ba15b48/attachment-0001.html>