You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was building Websocket and HTTP on Circle CI without Vapor installed.
After having this issue I found from vapor/vapor#1562 that I need to install libressl with brew install libressl
If someone would help me I would like to try to fix myself this.
Error from Circle CI with Xcode 9.3:
Compile Swift Module 'NIOOpenSSL' (11 sources)
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h"
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/NIOOpenSSL/OpenSSLHandler.swift:16:8: error: could not build Objective-C module 'CNIOOpenSSL'
import CNIOOpenSSL
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h"
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/NIOOpenSSL/OpenSSLHandler.swift:16:8: error: could not build Objective-C module 'CNIOOpenSSL'
import CNIOOpenSSL
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h"
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/NIOOpenSSL/OpenSSLHandler.swift:16:8: error: could not build Objective-C module 'CNIOOpenSSL'
import CNIOOpenSSL
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h"
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
^
/Users/distiller/project/TestWebsockets/.build/checkouts/swift-nio-ssl.git-1370587408992578247/Sources/NIOOpenSSL/OpenSSLHandler.swift:16:8: error: could not build Objective-C module 'CNIOOpenSSL'
import CNIOOpenSSL
^
error: terminated(1): /Applications/Xcode-9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/distiller/project/TestWebsockets/.build/debug.yaml main output:
The text was updated successfully, but these errors were encountered:
I was building Websocket and HTTP on Circle CI without Vapor installed.
After having this issue I found from vapor/vapor#1562 that I need to install
libressl
withbrew install libressl
If someone would help me I would like to try to fix myself this.
Error from Circle CI with Xcode 9.3:
The text was updated successfully, but these errors were encountered: