enable-rpath in Red Hat builds

Поиск
Список
Период
Сортировка
От Jason Petersen
Тема enable-rpath in Red Hat builds
Дата
Msg-id C5A2AAB0-B961-492E-8DF7-30CF6BDB1394@citusdata.com
обсуждение исходный текст
Список pgsql-pkg-yum
I hadn’t noticed until recently that --enable-rpath is passed to configure on Red Hat PostgreSQL builds and inherited by all extensions (via pg_config) on that platform. rpmlint complains about it on several Red Hat variants (well, in fact it _errors_).

Poking around mailing lists and git history, I was able to ascertain that it wasn’t always this way, with some caveats around how plperl and plpython are build on these platforms.

Does anyone have a pointer as to why this was changed for PostgreSQL itself? Or when?

Do extensions need to worry about this? I see some that use e.g. chrpath on binaries, but without understanding the reason PostgreSQL itself uses an rpath-enabled build I didn’t want to add that.

Planning on just filtering this rpmlint error for now, but I am curious for the motivation.

--
Jason Petersen
Software Engineer | Citus Data
303.736.9255

Вложения

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

Предыдущее
От: Kaname Furutani
Дата:
Сообщение: Re: yum package for pg_repack 1.3.4
Следующее
От: "Nicholson, Brad (Toronto, ON, CA)"
Дата:
Сообщение: 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location