Package: libcln-dev
Version: 1.1.13-2
Severity: normal

Hello!

I think libcln-dev should depend on libgmp3-dev, since the static
library (libcln.a) is useless without GMP static library (libgmp.a).

On the other hand, libgmp3-dev is not necessary for dynamic linking
(because CLN does not re-export GMP functions via public headers):

$ g++ /usr/share/doc/libcln-dev/examples/e.cc -lcln

works just fine (no matter if libgmp3-dev is installed or not).

But cln-config insists on linking with libgmp.so (BTW this is bug on
its own, for more details see
<http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>),
thus linker will fail unless libgmp3-dev is installed:

$ g++ `cln-config --libs` `cln-config --cppflags` 
/usr/share/doc/libcln-dev/examples/e.cc 
/usr/bin/ld: cannot find -lgmp


Best regards,
Alexei


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.11-grsec-p4-smp
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages libcln-dev depends on:
ii  g++                         4:4.1.1-15   The GNU C++ compiler
ii  libc6-dev [libc-dev]        2.3.6.ds1-11 GNU C Library: Development Librari
ii  libcln4                     1.1.13-2     Class Library for Numbers (C++)

Versions of packages libcln-dev recommends:
ii  emacs21 [info-browser] 21.4a+1-3         The GNU Emacs editor
ii  info [info-browser]    4.8.dfsg.1-4      Standalone GNU Info documentation 
ii  konqueror [info-browse 4:3.5.5a.dfsg.1-6 KDE's advanced file manager, web b
ii  libgmp3-dev            2:4.2.1+dfsg-4    Multiprecision arithmetic library 

-- no debconf information

-- 
All science is either physics or stamp collecting.

Attachment: signature.asc
Description: Digital signature

Reply via email to