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

install.sh : fatal error: 'openssl/evp.h' file not found #40

Closed
tylerarnold opened this issue Feb 21, 2020 · 2 comments
Closed

install.sh : fatal error: 'openssl/evp.h' file not found #40

tylerarnold opened this issue Feb 21, 2020 · 2 comments

Comments

@tylerarnold
Copy link

when performing the install.sh, I receive the following error:

r cr Output/Darwin-x86_64-apple-darwin19.3.0/Debug/Darwin.a Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPAssert.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+Crypto.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+Double.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+Float.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+Int.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+MACAddress.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+RawBuffer.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+Sha1Checksum.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+String.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPBase+UTF8.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPLog.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/HAPPlatformSystemInit.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatform.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformAbort.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformAccessorySetup.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformAccessorySetupDisplay.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformAccessorySetupNFC.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformBLEPeripheralManager.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformClock.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformKeyValueStore.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformLog.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformMFiHWAuth.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformMFiTokenAuth.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformRandomNumber.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformRunLoop.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformServiceDiscovery.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformTCPStreamManager.o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Darwin/HAPPlatformTimer.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Wall -Werror -DHAP_ENABLE_DEVELOPMENT_ONLY_CODE=1 -mmacosx-version-min=10.14   -DDARWIN=1 -Werror=unused-function -Wno-expansion-to-defined -Wno-nullability-completeness -Wno-deprecated-declarations -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks -IHAP -IExternal/HTTP -IExternal/JSON -IExternal/Base64 -IPAL -ICommon -I/include -I/include -O0 -g -DHAP_LOG_LEVEL=3     -DHAP_TESTING -IPAL/Darwin -IPAL/Darwin -ICommon   -DHAP_Debug -c PAL/Crypto/OpenSSL/HAPOpenSSL.c -o Output/Darwin-x86_64-apple-darwin19.3.0/Debug/PAL/Crypto/OpenSSL/HAPOpenSSL.o
/opt/local/bin/ranlib: object: Output/Darwin-x86_64-apple-darwin19.3.0/Debug/Darwin.a(HAPAssert.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
make[1]: *** [Output/Darwin-x86_64-apple-darwin19.3.0/Debug/Darwin.a] Error 1
make[1]: *** Waiting for unfinished jobs....
/opt/local/bin/ranlib: object: Output/Darwin-x86_64-apple-darwin19.3.0/Debug/hap.a(HAPAccessory+Info.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
make[1]: *** [Output/Darwin-x86_64-apple-darwin19.3.0/Debug/hap.a] Error 1
PAL/Crypto/OpenSSL/HAPOpenSSL.c:10:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^~~~~~~~~~~~~~~
@aajain-com
Copy link
Contributor

@Roelof626
Copy link

I have the same problem. I got the same error but I had a problem with my prerequisites install process.
See issue #122. Does this problem have anything todo with the error in the other issue?

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

3 participants