Are -DOPENSSLDIR -DENGINESDIR hard coded ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Are -DOPENSSLDIR -DENGINESDIR hard coded ?

OpenSSL - User mailing list

I have been trying to build a debug version with no-asm into a /opt/foo
directory but I always see :

    -DOPENSSLDIR="\"/usr/local/ssl\""

and

    -DENGINESDIR="\"/usr/local/lib/engines-1.1\""

during the compile.

Are these hard coded in somewhere ?


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
Reply | Threaded
Open this post in threaded view
|

Re: Are -DOPENSSLDIR -DENGINESDIR hard coded ?

Michael Richardson

Dennis Clarke via openssl-users <[hidden email]> wrote:

    > I have been trying to build a debug version with no-asm into a /opt/foo
    > directory but I always see :

    > -DOPENSSLDIR="\"/usr/local/ssl\""
    > and
    > -DENGINESDIR="\"/usr/local/lib/engines-1.1\""

    > during the compile.
    > Are these hard coded in somewhere ?

No, but show us your ./Configure line.
I regularly build into other directories.

For instance:
  ./Configure --prefix=/sandel/3rd/openssl-dtls-api linux-x86_64

Or:
  ./Configure --prefix=/usr --openssldir=/usr/lib/ssl
    --libdir=lib/linux-x86_64 no-idea no-mdc2 no-rc5 no-zlib no-ssl3
      enable-unit-test linux-x86_64
{from a Dockerfile where I want to replace the system copy}

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     [hidden email]  http://www.sandelman.ca/        |   ruby on rails    [





signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Are -DOPENSSLDIR -DENGINESDIR hard coded ?

OpenSSL - User mailing list

> No, but show us your ./Configure line.
> I regularly build into other directories.
>
> For instance:
>   ./Configure --prefix=/sandel/3rd/openssl-dtls-api linux-x86_64
>

Thank you for the reply. I did go looking into the resultant Makefile
and there I did see that the "--prefix=/opt/foo" is needed in order to
target a new destination directory.  So that problem is solved.

However my compile fails *everywhere* today on a multitude of systems
from Debian sid on amd64 to FreeBSD UNIX on amd64 and Debian on ppc64le
and ppc64 big-endian.  So I know I am doing something abundantly wrong.

Dennis