#998664 libntl43: undefined reference to `NTL::sub(NTL::ZZ&, NTL::ZZ const&, long)

Package:
libntl43
Source:
ntl
Submitter:
David George Henderson III
Date:
2021-12-03 12:21:03 UTC
Severity:
normal
#998664#5
Date:
2021-11-05 22:59:29 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#998664#10
Date:
2021-11-06 17:32:37 UTC
From:
To:
This calling/type signature worked with buster that had libntl version
10.5.0. I'm faced with several workaround choices:

     a) custom install libntl 10.5.0 in /usr/local/lib and change the
compiler and linker commands to search this directory first

     b) revert to buster which implements 10.5.0

     c) recode source to not use this calling signature

     d) run bullseye with libntl35 package installed; have not tried
this since choice 1) is so much easier for me

#998664#15
Date:
2021-12-03 12:18:40 UTC
From:
To:
Hi,

first of all sorry to have been this long to answer.

I just put your source example in a essai.cc, then "g++ -o essai
essai.cc  -lntl" ; no warning, the resulting executable runs without
trouble... but indeed ldd shows I'm linking to libntl44 -- that's
pretty normal considering that's what the libntl-dev package points to.

Can you tell me more about your system?

Cheers,

J.Puydt