empiredan opened a new issue, #2325: URL: https://github.com/apache/incubator-pegasus/issues/2325
[Building Pegasus regularly](https://github.com/apache/incubator-pegasus/actions/workflows/regular-build.yml) on Ubuntu 20.04 failed due to following error: ``` /__w/incubator-pegasus/incubator-pegasus/src/zookeeper/zookeeper_session.cpp:29:10: fatal error: openssl/types.h: No such file or directory 29 | #include <openssl/types.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/zookeeper/CMakeFiles/dsn.replication.zookeeper_provider.dir/build.make:121: src/zookeeper/CMakeFiles/dsn.replication.zookeeper_provider.dir/zookeeper_session.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3245: src/zookeeper/CMakeFiles/dsn.replication.zookeeper_provider.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ``` The reason is that in https://github.com/apache/incubator-pegasus/pull/2293 `openssl/types.h` was included, while the default version of OpenSSL on Ubuntu 20.04 is 1.1.1 which does not have this header file. To solve this problem, we could just install OpenSSL 3.0 instead on Ubuntu 20.04. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
