/usr/local/bin/mongod: /usr/lib/aarch64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/local/bin/mongod)
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev...@googlegroups.com.
To post to this group, send email to mongo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/a5364e0e-61c9-4fb8-9078-aa3710ab407d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[2018-12-19 16:00:16 (00:43:46.416716)] + buildscripts/scons.py AR=aarch64-linux-gnu-ar CC=ccache aarch64-linux-gnu-gcc CXX=ccache aarch64-linux-gnu-g++ HOST_ARCH=x86_64 TARGET_ARCH=aarch64 CCFLAGS=-march=armv8-a+crc MAXLINELENGTH=2097152 --ssl --enable-free-mon=off --enable-http-client=off --disable-warnings-as-errors -j 6 --prefix /var/lib/gitlab-runner/builds/32e764b8/0/ServiceCockpit/debian-images/rpi23-gen-image/images/stretch/build/chroot/usr/local mongod install
[2018-12-19 16:00:17 (00:43:46.997862)] scons: Reading SConscript files ...
[2018-12-19 16:00:18 (00:43:47.880829)] Mkdir("build/scons")
[2018-12-19 16:00:18 (00:43:47.887707)] scons version: 2.5.0
[2018-12-19 16:00:18 (00:43:47.887887)] python version: 2 7 15 'candidate' 1
[2018-12-19 16:00:18 (00:43:48.175162)] Checking whether the C compiler works... yes
[2018-12-19 16:00:18 (00:43:48.222642)] Checking whether the C++ compiler works... yes
[2018-12-19 16:00:19 (00:43:49.037313)] Checking that the C++ compiler can link a C++ program... yes
[2018-12-19 16:00:19 (00:43:49.085079)] Checking if C++ compiler "ccache aarch64-linux-gnu-g++" is GCC... yes
[2018-12-19 16:00:19 (00:43:49.136539)] Checking if C compiler "ccache aarch64-linux-gnu-gcc" is GCC... yes
[2018-12-19 16:00:19 (00:43:49.182561)] Checking if target processor is aarch64 (cached) yes
[2018-12-19 16:00:19 (00:43:49.223513)] Checking if target OS linux is supported by the toolchain... yes
[2018-12-19 16:00:19 (00:43:49.406158)] Checking if C compiler is GCC 5.3.0 or newer...yes
[2018-12-19 16:00:19 (00:43:49.435691)] Checking if C++ compiler is GCC 5.3.0 or newer...yes
[2018-12-19 16:00:19 (00:43:49.485150)] Checking if C compiler supports -Wno-unused-local-typedefs... yes
[2018-12-19 16:00:19 (00:43:49.521590)] Checking if C compiler supports -Wno-unused-function... yes
[2018-12-19 16:00:19 (00:43:49.597131)] Checking if C compiler supports -Wno-unused-private-field... no
[2018-12-19 16:00:19 (00:43:49.634534)] Checking if C compiler supports -Wno-deprecated-declarations... yes
[2018-12-19 16:00:19 (00:43:49.718988)] Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
[2018-12-19 16:00:20 (00:43:49.794734)] Checking if C compiler supports -Wno-tautological-constant-compare... no
[2018-12-19 16:00:20 (00:43:49.880305)] Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no
[2018-12-19 16:00:20 (00:43:49.964564)] Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no
[2018-12-19 16:00:20 (00:43:50.006071)] Checking if C compiler supports -Wno-unused-const-variable... yes
[2018-12-19 16:00:20 (00:43:50.043962)] Checking if C compiler supports -Wno-unused-but-set-variable... yes
[2018-12-19 16:00:20 (00:43:50.090809)] Checking if C compiler supports -Wno-missing-braces... yes
[2018-12-19 16:00:20 (00:43:50.181881)] Checking if C compiler supports -Wno-inconsistent-missing-override... no
[2018-12-19 16:00:20 (00:43:50.286589)] Checking if C compiler supports -Wno-potentially-evaluated-expression... no
[2018-12-19 16:00:20 (00:43:50.367023)] Checking if C++ compiler supports -Wpessimizing-move... no
[2018-12-19 16:00:20 (00:43:50.423954)] Checking if C++ compiler supports -Wredundant-move... no
[2018-12-19 16:00:20 (00:43:50.461863)] Checking if C++ compiler supports -Wno-maybe-uninitialized... yes
[2018-12-19 16:00:20 (00:43:50.541727)] Checking if C++ compiler supports -Wno-undefined-var-template... no
[2018-12-19 16:00:20 (00:43:50.632288)] Checking if C++ compiler supports -Wno-instantiation-after-specialization... no
[2018-12-19 16:00:20 (00:43:50.711143)] Checking if C compiler supports -Wno-unused-lambda-capture... no
[2018-12-19 16:00:21 (00:43:50.758970)] Checking if C compiler supports -Wno-exceptions... no
[2018-12-19 16:00:21 (00:43:51.457375)] Checking -Wnon-virtual-dtor for false positives... no
[2018-12-19 16:00:21 (00:43:51.585611)] Checking if C compiler supports -fstack-protector-strong... yes
[2018-12-19 16:00:21 (00:43:51.712653)] Checking if we are using libstdc++... yes
[2018-12-19 16:00:22 (00:43:51.780354)] Checking if C++ compiler supports -std=c++14... yes
[2018-12-19 16:00:22 (00:43:51.818947)] Checking if C compiler supports -std=c11... yes
[2018-12-19 16:00:22 (00:43:51.855938)] Checking for C++14... yes
[2018-12-19 16:00:22 (00:43:52.015504)] Checking for memset_s... no
[2018-12-19 16:00:22 (00:43:52.187826)] Checking for C function strnlen()... yes
[2018-12-19 16:00:22 (00:43:52.261558)] Checking for libstdc++ 5.3.0 or better... yes
[2018-12-19 16:00:22 (00:43:52.306880)] Checking if we are on a POSIX system... yes
[2018-12-19 16:00:22 (00:43:52.342446)] Checking if the POSIX monotonic clock is supported... yes
[2018-12-19 16:00:22 (00:43:52.389096)] Checking off_t is 8 bytes... yes
[2018-12-19 16:00:22 (00:43:52.660472)] Checking if linker supports -fuse-ld=gold... yes
[2018-12-19 16:00:23 (00:43:52.787815)] Checking if linker supports -Wl,--build-id... yes
[2018-12-19 16:00:23 (00:43:52.898732)] Checking if linker supports -Wl,--hash-style=gnu... yes
[2018-12-19 16:00:23 (00:43:53.013478)] Checking if linker supports -Wl,-z,noexecstack... yes
[2018-12-19 16:00:23 (00:43:53.130338)] Checking if linker supports -Wl,--warn-execstack... yes
[2018-12-19 16:00:23 (00:43:53.244871)] Checking if linker supports -Wl,-z,relro... yes
[2018-12-19 16:00:23 (00:43:53.288606)] Checking for glibc with non-broken _FORTIFY_SOURCE...yes
[2018-12-19 16:00:23 (00:43:53.343853)] Checking if C compiler supports -fno-builtin-memcmp... yes
[2018-12-19 16:00:23 (00:43:53.464052)] Checking for storage class thread_local yes
[2018-12-19 16:00:23 (00:43:53.513909)] Checking for C++14 std::enable_if_t support...yes
[2018-12-19 16:00:23 (00:43:53.657452)] Checking for C++14 std::make_unique support... yes
[2018-12-19 16:00:23 (00:43:53.719429)] Checking if pthread_setname_np is supported... yes
[2018-12-19 16:00:24 (00:43:54.226145)] Checking for SSLeay_version(0) in C library crypto... no
[2018-12-19 16:00:24 (00:43:54.227334)] Couldn't find OpenSSL crypto.h header and library
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/dff4a3c0-53be-4b84-ab76-12cd239f0d80%40googlegroups.com.
Yeah. As I figured out it was caused by adding the --ssl flag and not having libssl-dev for arm64 installed. I missed that because the previous build where I added it hadn't failed yet.Now back to the curl requirement:SCons complains that the flag --enable-http-client is unknown. Knowing that for 4.1 quite a few flags got renamed I'm guessing the flag has a different name on 4.0(.5-rc1). Do you happen to know the correct name of the flag for that version?
I tested that and it works flawlessly!
Thank you for your help. It's much apprechiated!