Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

How to use the default openssl-1.1.1g installation path to make a build? #176

Closed
chenxizf opened this issue Mar 16, 2021 · 3 comments
Closed

Comments

@chenxizf
Copy link

chenxizf commented Mar 16, 2021

Hi,

I am able to successfully build SPDM on Linux by issuing the command below:
"make -f GNUmakefile ARCH=X64 TARGET=DEBUG CRYPTO=Openssl -e WORKSPACE=~/openspdm-master"

However, can I know how I can use the openssl-1.1.1g that is installed under its default installation path (e.g /usr/bin and /usr/include/openssl) instead of hard-copying again the openssl folder into OpensslLib?
The reason why I am doing that is because we already installed openssl-1.1.1g on Linux, and would like to use that and avoid copying it again to SPMD build.

Thank you!

@rcaalves
Copy link
Contributor

Hello,

AFAIK, you need Openssl sources to compile openspdm. Just the headers and precompiled binary is not enough.
If you have the sources somewhere else, you can try to symlink it to the indicated path.

@jyao1
Copy link
Owner

jyao1 commented Mar 18, 2021

This is not supported in current makefile.

If you work out a solution, please submit a patch. We can integrate it.

@jyao1
Copy link
Owner

jyao1 commented Jul 7, 2021

Similar to #178.

Binary build support is tracked in DMTF/libspdm#25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants