Package: libxml++2.6-dev
Version: 2.22.0-1
Severity: normal

When building a package that requires libxml++2.6, dpkg-shlibdeps complains:

    ...shouldn't be linked with libxml2.so.2 (it uses none of its symbols)...

This is because, `pkg-config libxml++-2.6 --libs` returns:

    -lxml++-2.6 -lxml2 -lglibmm-2.4

Using Requires.private in the *.pc-File helps here:

    - Requires: libxml-2.0 glibmm-2.4
    + Requires.private: libxml-2.0 glibmm-2.4

This way, `pkg-config libxml++-2.6 --libs` returns:

    -lxml++-2.6 

and `pkg-config libxml++-2.6 --libs --static` returns:

    -lxml++-2.6 -lxml2 -lz -lm -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0

I've also filed an upstream bug report:

    http://bugzilla.gnome.org/show_bug.cgi?id=523907

Tobias

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml++2.6-dev depends on:
ii  libglibmm-2.4-dev          2.14.2-4      C++ wrapper for the GLib toolkit (
ii  libxml++2.6-2              2.22.0-1      A C++ interface to the GNOME XML l
ii  libxml2-dev                2.6.31.dfsg-2 Development files for the GNOME XM
ii  pkg-config                 0.22-1        manage compile and link flags for 

libxml++2.6-dev recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to