[pkg-ntp-maintainers] Bug#863225: Bug#863225: ntp: NTP does not build from source

Hans Linkels jlinkels at linxtech.net
Wed May 24 22:42:14 UTC 2017


Hi Kurt,

I agree with you on both statements. Libcrypto is not being linked,
and I have no idea either :)

Today I installed the source files from the Jessie repo on a
fairly pristine Jessie installation. With exactly the same result.

I am a bit puzzeled by this part in the debian/rules files:

    ./configure CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' 
LDFLAGS='$(LDFLAGS)' \
<snip>
         --with-openssl-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

Does $(DEB_HOST_MULTIARCH) indicate that this variable is
an imported environment variable? The variable is not set
in the debian/rules files, and nor is it present in the
environment. Setting it in the environment to x86_64-linux-gnu/
doesn't help either.

I also tried to add the option "with-crypto=no" and "without-crypto". 
(Not sure if I need crypto). But to no avail.

Kind regards
Hans







On 2017-05-24 16:23, Kurt Roeckx wrote:
> On Wed, May 24, 2017 at 09:42:39AM +0000, Hans Linkels wrote:
>> 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.
>
> You're not linking to libcrypto for some reason. I have no idea
> what that reason is currently.
>
>
> Kurt
>



More information about the pkg-ntp-maintainers mailing list