Re: Statically linking ICU with Postgres

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: leoaaryan <leoaaryan(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Statically linking ICU with Postgres
Date: 2017-12-19 03:54:18
Message-ID: CAB7nPqSKt=wucZR7N25o2jztWmdspkpDhYoO421MozuFWLggmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 19, 2017 at 12:10 PM, leoaaryan <leoaaryan(at)gmail(dot)com> wrote:
> I can see libicu*.a in the directory /leoaaryan/postgres-10/lib. But I'm not
> able to make the postgres source code with it.
> ./configure --prefix=/leoaaryan/postgres-10 ... --with-icu
> ICU_CFLAGS="-I/leoaaryan/postgres-10/include"
> ICU_LIBS="-L/leoaaryan/postgres-10/lib"
>
> Is there a way to link ICU library to Postgres statically?

Why would you want to do that? This does not improve the user
experience and you are asking for more pain with your package
management by not relying on what the OS provides.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2017-12-19 04:36:44 Re: [HACKERS] path toward faster partition pruning
Previous Message leoaaryan 2017-12-19 03:10:47 Statically linking ICU with Postgres