dextrocoin / dextro_old

Dextro Core (Version 3.0.0.0)
http://dextro.io
MIT License
5 stars 10 forks source link

configure: error: Detected LibreSSL #1

Open FreddieITA91 opened 6 years ago

FreddieITA91 commented 6 years ago

./configure LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib/" CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include/" checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking whether g++ supports C++11 features by default... yes checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking how to print strings... printf checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... no checking for python3... /usr/bin/python3 checking for genhtml... no checking for git... /usr/bin/git checking for ccache... no checking for xgettext... /usr/bin/xgettext checking for hexdump... /usr/bin/hexdump checking for readelf... /usr/bin/readelf checking for c++filt... /usr/bin/c++filt checking for objcopy... /usr/bin/objcopy checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the linker accepts -Wl,--large-address-aware... no checking for attribute((visibility))... yes checking for attribute((dllexport))... no checking for attribute((dllimport))... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether C++ compiler accepts -fPIC... yes checking whether the linker accepts -pic... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking for library containing getaddrinfo_a... -lanl checking for library containing inet_pton... none required checking whether strnlen is declared... yes checking whether le32toh is declared... yes checking whether le64toh is declared... yes checking whether htole32 is declared... yes checking whether htole64 is declared... yes checking whether be32toh is declared... yes checking whether be64toh is declared... yes checking whether htobe32 is declared... yes checking whether htobe64 is declared... yes checking for MSG_NOSIGNAL... yes checking for library containing clock_gettime... none required checking for visibility attribute... yes checking whether C++ compiler accepts -fvisibility=hidden... yes checking for Berkeley DB C++ headers... default checking for main in -ldb_cxx-4.8... yes checking miniupnpc/miniwget.h usability... no checking miniupnpc/miniwget.h presence... no checking for miniupnpc/miniwget.h... no checking miniupnpc/miniupnpc.h usability... no checking miniupnpc/miniupnpc.h presence... no checking for miniupnpc/miniupnpc.h... no checking miniupnpc/upnpcommands.h usability... no checking miniupnpc/upnpcommands.h presence... no checking for miniupnpc/upnpcommands.h... no checking miniupnpc/upnperrors.h usability... no checking miniupnpc/upnperrors.h presence... no checking for miniupnpc/upnperrors.h... no checking for QT... no checking for QT... no configure: WARNING: Qt dependencies not found; dextro-qt frontend will not be built checking whether to build Dextro Core Community GUI... no (Qt5) checking for boostlib >= 1.20.0... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Chrono library is available... yes checking for exit in -lboost_chrono... yes checking for working boost reduced exports... yes checking whether the linker accepts -Wl,--exclude-libs,ALL... yes checking for SSL... yes checking for CRYPTO... yes checking for ZMQ... no configure: WARNING: libzmq version 4.x or greater not found, disabling checking for RAND_egd in -lcrypto... no configure: error: Detected LibreSSL: This is NOT supported, and may break consensus compatibility!

make make: *** No specified object and no makefile found. Arrested

How fix it? Tnks

dextrocoin commented 6 years ago

You need to install lcrypto and libzmq.

Al3xxx19 commented 6 years ago

try this apt-get install libzmq3-dev apt-get install libssl1.0-dev

SkyHyperV commented 6 years ago

You need to do the following:

brew install autoconf automake berkeley-db@4 boost@1.57 git libevent libtool miniupnpc openssl pkg-config protobuf qt zeromq librsvg

brew link boost@1.57 --force

export LDFLAGS=-L/usr/local/opt/openssl/lib;export CPPFLAGS=-I/usr/local/opt/openssl/include

Then the normal ./autogen.sh && ./configure && make etc...

Saxtr0 commented 5 years ago

it seems an error due to LibreSSL as default instead openssl. The easiest way is to use unsupported ssl in configure flag. The longest is to use the depends stake (check docs), that will compile and use every dependencies in a static way

xyephy commented 5 years ago

run the following commands:

Install dependencies

sudo apt install build-essential libtool autotools-dev autoconf pkg-config libssl-dev

run

./autogen.sh && ./configure && make

CaveSpectre11 commented 5 years ago

I ran into this as well. The problem, I found, is because building the dependencies failed before it built the dependency that replaces LibreSSL (At least on Ubuntu 18.04). The problem actually was fontconfig failing. I pulled an updated fontconfig.mk from another coin (version=2.12.1 instead of 2.11.1) and the problem resolved once I was able to build all the dependencies.