[openssl-users] How to get current using openssl version

2014-12-15 Thread Jerry OELoo
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@openssl.org
https://mta.opensslfoundation.net/mailman/listinfo/openssl-users


Re: [openssl-users] How to get current using openssl version

2014-12-15 Thread Salz, Rich
 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

You probably need some better combination of -L and -l flags; -I only sets the 
path for #include statements.
Some intro documentation on Linux software development might be useful
/r$
--  
Principal Security Engineer, Akamai Technologies
IM: rs...@jabber.me Twitter: RichSalz


___
openssl-users mailing list
openssl-users@openssl.org
https://mta.opensslfoundation.net/mailman/listinfo/openssl-users


Re: [openssl-users] How to get current using openssl version

2014-12-15 Thread Chris Bare
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 oylje...@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@openssl.org
 https://mta.opensslfoundation.net/mailman/listinfo/openssl-users



-- 
Chris Bare
___
openssl-users mailing list
openssl-users@openssl.org
https://mta.opensslfoundation.net/mailman/listinfo/openssl-users