Hello Kurt,

I have prepared the build according to the normal Debian procedure for building a package. This included running mk-build-deps. I checked the presence of libssl-dev. It is installed.
libssl-dev                         1.0.1t-1+deb7u2

I have found exactly ONE reference to exactly this error on Google. And not even in Debian. So I assumed it is upstream.
https://bugs.mageia.org/show_bug.cgi?id=18378#c8
But the thread does not specify what to do to get the error resolved. It seems that libcrypto is in a location which is not set in the makefile.

Kind regards
Hans


On 2017-05-24 07:15, Kurt Roeckx wrote:
On Wed, May 24, 2017 at 01:27:26AM +0000, Johannes Linkels wrote:
Package: ntp
Version: 1:4.2.6.p5+dfsg-2+deb7u7
Severity: normal
Tags: upstream

Dear Maintainer,

Trying to build ntp 4.2.6.p5 from Debian source. (In order to be able to enable 
debug support)

This is the error message:
libtool: link: gcc -std=gnu99 -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing 
-Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self 
-Wstrict-overflow -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o sntp 
crypto.o kod_management.o log.o main.o networking.o sntp.o sntp-opts.o 
utilities.o  -lopts -lm ../libntp/libntp.a
crypto.o: In function `auth_md5':
/home/jlinkels/src/debian/ntp-4.2.6.p5+dfsg/sntp/crypto.c:61: undefined 
reference to `CRYPTO_memcmp'
collect2: error: ld returned 1 exit status
Do you have libssl-dev installed?


Kurt


Reply via email to