NICMx / FORT-validator

RPKI cache validator
MIT License
49 stars 24 forks source link

configure: error: unable to find the X509_get_version() function #16

Closed job closed 4 years ago

job commented 4 years ago

tried to compile on Linux, but some error popped up configure: error: unable to find the X509_get_version() function

root@rpki:~/source/FORT-validator# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.11 (stretch)
Release:    9.11
Codename:   stretch
root@rpki:~/source/FORT-validator# dpkg -l | grep openssl
ii  openssl                         1.1.0k-1~deb9u1                amd64        Secure Sockets Layer toolkit - cryptographic utility
ii  python-openssl                  16.2.0-1                       all          Python 2 wrapper around the OpenSSL library
root@rpki:~/source/FORT-validator#
root@rpki:~/source/FORT-validator# ./configure
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for socket... yes
checking for library containing pthread_create... -lpthread
checking for library containing X509_get_version... no
configure: error: unable to find the X509_get_version() function
root@rpki:~/source/FORT-validator#
osopolar99 commented 4 years ago

Hello Job, it seems that you are missing a dependency. Please make sure that you have these both packages installed: libssl-dev and libjansson-dev.

ydahhrk commented 4 years ago

Installation instructions