Re: PG vs LLVM 12 on seawasp, next round

From: Andres Freund <andres(at)anarazel(dot)de>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PG vs LLVM 12 on seawasp, next round
Date: 2021-02-15 18:01:58
Message-ID: 20210215180158.dn3vkaag35co6non@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2021-02-15 10:05:32 +0100, Fabien COELHO wrote:
> > show? What do you have in seawap's LD_LIBRARY_PATH, and is the
> > problem that you need to add /home/fabien/clgtk/lib to it
>
> Argh. Would it be so stupid? :-( I thought the configuration stuff would
> manage the link path automatically, which may be quite naïve, indeed.

The only way to do that is to add an rpath annotation, and e.g. distros
don't like that - there's some security implications.

> I've added an explicit LD_LIBRARY_PATH, which will be triggered at some
> point later.

You can also do something like LDFLAGS="$LDFLAGS -Wl,-rpath,$(llvm-config --libdir)"
or such.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anastasia Lubennikova 2021-02-15 19:06:47 Re: CREATE INDEX CONCURRENTLY on partitioned index
Previous Message Jesse Zhang 2021-02-15 17:40:10 Re: SSL SNI