[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651819: "pkgconfig --libs enchant" specifies unnecessary libraries



Package: libenchant-dev
Version: 1.6.0-6
Severity: minor

When I build lyx, dpkg-shlibdeps complains about it unnecessarily
linking against libgmodule, libglib, and librt.

It turns out that lyx depends on these libraries because it uses
enchant. Indeed:

$ pkg-config --libs enchant
-pthread -lenchant -lgmodule-2.0 -lrt -lglib-2.0

It appears that enchant can be used without explicitly depending on
the extra libraries. Please consider moving them to Libs.private in
enchant.pc.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libenchant-dev depends on:
ii  libenchant1c2a  1.6.0-6
ii  libglib2.0-dev  2.30.2-4

libenchant-dev recommends no packages.

libenchant-dev suggests no packages.

-- no debconf information



Reply to: