From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts |
Date: | 2016-09-08 12:51:49 |
Message-ID: | CAB7nPqT27N824aQ=p03DvE5KJ3ggP493teOG4ERxpu3VdDQ68A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Sep 8, 2016 at 9:27 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Michael Paquier <michael(dot)paquier(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-09-08 12:52:01 | Re: Sample configuration files |
Previous Message | Magnus Hagander | 2016-09-08 12:39:06 | Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts |