On Fri, Jan 25, 2013, T J wrote:

> 
> openssl version -d shows the INSTALL_PREFIX directory == $(SSLDIR)/base.
> 
> OpenSSL> version -d
> OPENSSLDIR: 
> "/home/tjordan/workspace/myproject/current/appfs/openssl/build/base"
> OpenSSL>
> 
> If I set --openssldir="/usr/bin", I see openssl.cnf gets put into:
> $(SSLDIR)/base/usr/bin
> whereas if I dont put in the --openssldir switch at all (as above) it gets 
> put into:
> $(SSLDIR)/base/usr/ssl
> Either way it looks for it in "$(SSLDIR)/base" which of course doesn't exist 
> on the target.
> 
> 

Well what should be happening is that is --openssldir is an absolute path it
is used directly otherwise it is concatenated with the --prefix value. If the
value passed is not expanded (e.g. gets passed as $(FOO)) then the absolute
path check wont work.

If you do:

grep OPENSSLDIR Makefile
grep OPENSSLDIR crypto/opensslconf.h

you should see the values it is using.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to