Hello, I am trying to compile qpdf and I am getting the following errors: [ 19%] Building CXX object libqpdf/CMakeFiles/libqpdf_object.dir/QPDFCrypto_openssl.cc.o /container/source/var/qpdf-main/libqpdf/QPDFCrypto_openssl.cc: In constructor 'QPDFCrypto_openssl::QPDFCrypto_openssl()': /container/source/var/qpdf-main/libqpdf/QPDFCrypto_openssl.cc:98:12: error: 'EVP_MD_CTX_new' was not declared in this scope; did you mean 'EVP_MD_CTX_md'? 98 | md_ctx(EVP_MD_CTX_new()), | ^~~~~~~~~~~~~~ | EVP_MD_CTX_md /container/source/var/qpdf-main/libqpdf/QPDFCrypto_openssl.cc: In destructor 'virtual QPDFCrypto_openssl::~QPDFCrypto_openssl()': /container/source/var/qpdf-main/libqpdf/QPDFCrypto_openssl.cc:108:5: error: 'EVP_MD_CTX_reset' was not declared in this scope; did you mean 'EVP_MD_CTX_create'? 108 | EVP_MD_CTX_reset(md_ctx); | ^~~~~~~~~~~~~~~~ | EVP_MD_CTX_create /container/source/var/qpdf-main/libqpdf/QPDFCrypto_openssl.cc:109:5: error: 'EVP_CIPHER_CTX_reset' was not declared in this scope; did you mean 'EVP_CIPHER_CTX_free'? 109 | EVP_CIPHER_CTX_reset(cipher_ctx); | ^~~~~~~~~~~~~~~~~~~~ | EVP_CIPHER_CTX_free
The problem is that the various symbols are defined in fileopenssl/env.h which is missing from my installation. I have donea Google search and it seems this file should be there in anystandard distribution. Also, the following command clearlyshows that this file is not part of OpenIndiana: $ pkg search -r env.h INDEX ACTION VALUE PACKAGE basename file usr/include/proftpd/env.h pkg:/service/network/ftp/[email protected] basename file usr/include/spdlog/cfg/env.h pkg:/library/c++/[email protected] basename file usr/include/c-client/env.h pkg:/library/[email protected] basename file usr/demo/link_audit/src/env.h pkg:/source/demo/[email protected] basename file usr/include/sys/sysevent/env.h pkg:/system/[email protected] basename file usr/demo/link_audit/src/env.h pkg:/source/demo/[email protected] basename file usr/include/sys/sysevent/env.h pkg:/system/[email protected] basename file usr/demo/link_audit/src/env.h pkg:/source/demo/[email protected] So can someone let me know where is this file?Thanks in advance.A.S. ----------------------Apostolos Syropoulos Xanthi, Greece _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
