Comment 11 for bug 1692073

Revision history for this message
jean-christophe manciot (manciot-jeanchristophe) wrote :

Building 0.99.2+dfsg-6ubuntu2 in **Zesty**:

dpkg-shlibdeps: error: no dependency information found for /usr/lib/libxml2.so.2 (used by debian/libclamav7/usr/lib/x86_64-linux-gnu/libclamav.so.7.1.1)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/libclamav7.substvars debian/libclamav7/usr/lib/x86_64-linux-gnu/libclamav.so.7.1.1 returned exit code 2
dh_shlibdeps: Aborting due to earlier error
debian/rules:71: recipe for target 'binary' failed
make: *** [binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Although:
# apt-cache policy libxml2-dev
libxml2-dev:
  Installed: 2.9.4+dfsg1-2.2

It turns out that the requested file does not exist in Zesty:
# apt-file search /usr/lib/libxml2.so.2
#

However, the same requested lib file is offered in another location by libxml2:
1) in Zesty:
-----------
# apt-file search libxml2.so.2
...
libxml2: /usr/lib/x86_64-linux-gnu/libxml2.so.2
...

2) in Artful:
------------
# dpkg --contents libxml2_2.9.4+dfsg1-3build2_amd64.deb | grep libxml2.so.2
-rw-r--r-- root/root 1801528 2017-08-02 22:08 ./usr/lib/x86_64-linux-gnu/libxml2.so.2.9.4
lrwxrwxrwx root/root 0 2017-08-02 22:08 ./usr/lib/x86_64-linux-gnu/libxml2.so.2 -> libxml2.so.2.9.4

In both Ubuntu releases, the file libxml2.so.2 is located in:
/usr/lib/x86_64-linux-gnu