Re: PG vs LLVM 12 on seawasp, next round

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: PG vs LLVM 12 on seawasp, next round
Дата
Msg-id 20210215180158.dn3vkaag35co6non@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: PG vs LLVM 12 on seawasp, next round  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: PG vs LLVM 12 on seawasp, next round  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jesse Zhang
Дата:
Сообщение: Re: SSL SNI
Следующее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: CREATE INDEX CONCURRENTLY on partitioned index