bref: Version-specific image build fails on mongodb extension compile due to missing openssl
cc -DBSON_COMPILATION -DMONGOC_COMPILATION -DKMS_MSG_STATIC -std=gnu99 -DKMS_MESSAGE_ENABLE_CRYPTO=1 -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO=1 -Isrc/libmongocrypt/src/crypto/ -I/tmp/pear/temp/mongodb/src/libmongocrypt/src/crypto/ -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseroJ2RFk/mongodb-1.7.2/include -I/tmp/pear/temp/pear-build-defaultuseroJ2RFk/mongodb-1.7.2/main -I/tmp/pear/temp/mongodb -I/opt/bref/include/php -I/opt/bref/include/php/main -I/opt/bref/include/php/TSRM -I/opt/bref/include/php/Zend -I/opt/bref/include/php/ext -I/opt/bref/include/php/ext/date/lib -I/tmp/pear/temp/mongodb/src/libmongoc/src/common/ -I/tmp/pear/temp/mongodb/src/libmongoc/src/libbson/src/ -I/tmp/pear/temp/mongodb/src/libmongoc/src/libbson/src/jsonsl/ -I/tmp/pear/temp/mongodb/src/libmongoc/src/libmongoc/src/ -I/tmp/pear/temp/mongodb/src/libmongocrypt/src/ -I/tmp/pear/temp/mongodb/src/libmongocrypt/kms-message/src/ -I/tmp/pear/temp/mongodb/src/libmongocrypt-compat/ -I/tmp/pear/temp/mongodb/src/BSON/ -I/tmp/pear/temp/mongod
b/src/MongoDB/ -I/tmp/pear/temp/mongodb/src/MongoDB/Exception/ -I/tmp/pear/temp/mongodb/src/MongoDB/Monitoring/ -I/tmp/pear/temp/mongodb/src/contrib/ -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mongodb/src/libmongocrypt/src/crypto/libcrypto.c -fPIC -DPIC -o src/libmongocrypt/src/crypto/.libs/libcrypto.o
/tmp/pear/temp/mongodb/src/libmongocrypt/src/crypto/libcrypto.c:30:10: fatal error: openssl/crypto.h: No such file or directory
#include <openssl/crypto.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [src/libmongocrypt/src/crypto/libcrypto.lo] Error 1
ERROR: `make' failed
The command '/bin/bash -c pecl install mongodb' returned a non-zero code: 1
make: *** [docker-images] Error 1
You should be able to repro by running make docker-images
from master.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (9 by maintainers)
All good thank you!
Thank you so much! I’ll try recompiling everything asap to test this.