Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: openssl/evp.h: No such file or directory #105

Open
adeshmrane opened this issue May 17, 2023 · 0 comments
Open

fatal error: openssl/evp.h: No such file or directory #105

adeshmrane opened this issue May 17, 2023 · 0 comments

Comments

@adeshmrane
Copy link

When I try to install libsxg i am getting the below error

In file included from /setups/libsxg-0.2/tests/test_util.cc:17:0:
/setups/libsxg-0.2/tests/test_util.h:17:25: fatal error: openssl/evp.h: No such file or directory
#include <openssl/evp.h>
^
compilation terminated.

my configuration command is

LDFLAGS="-L$AMPPS_PATH/lib -L/usr/local/apps/openssl-11/lib -lssl -lcrypto" CPPFLAGS="-I$AMPPS_PATH/include -I/usr/local/apps/openssl-11/include" cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/apps/libsxg -DCMAKE_INSTALL_LIBDIR=/usr/local/apps/libsxg/lib -DCMAKE_INSTALL_BINDIR=/usr/local/apps/libsxg/bin -OPENSSL_INCLUDE_DIR=/usr/local/apps/openssl-11/include -DOPENSSL_ROOT_DIR=/usr/local/apps/openssl-11

No idea how to set the path for OpenSSL, I have OpenSSL installed in custom path /usr/local/apps/openssl-11

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

No branches or pull requests

1 participant