On Thu, Sep 8, 2016 at 9:27 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Michael Paquier <michael.paqu...@gmail.com> writes: >> But I don't understand the reason behind such a restriction to be >> honest because libxml2 does not depend on libxslt. The contrary is >> true: libxslt needs libxml2. > > Right. > >> Note as well that libxml2 does depend on ICONV though. > > Hm, is that true either? I don't see any sign of such a dependency > on Linux: > > $ ldd /usr/lib64/libxml2.so.2.7.6 > linux-vdso.so.1 => (0x00007fff98f6b000) > libdl.so.2 => /lib64/libdl.so.2 (0x000000377a600000) > libz.so.1 => /lib64/libz.so.1 (0x000000377ae00000) > libm.so.6 => /lib64/libm.so.6 (0x0000003779e00000) > libc.so.6 => /lib64/libc.so.6 (0x0000003779a00000) > /lib64/ld-linux-x86-64.so.2 (0x0000003779600000)
Peaking into the libxml2 code there is a configure switch --with-iconv, so that's an optional dependency. And the same exists for Windows in their win32/stuff. So I am mistaken and this could be just removed. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers