Re: Building postgresql from sources, statically linked, linux
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Building postgresql from sources, statically linked, linux |
| Дата | |
| Msg-id | 10384.1639260044@sss.pgh.pa.us обсуждение |
| Ответ на | Building postgresql from sources, statically linked, linux (Rob Gansevles <rgansevles@gmail.com>) |
| Список | pgsql-hackers |
Rob Gansevles <rgansevles@gmail.com> writes:
> I would like to have a statically linked linux x64 version of postgresql
> 14.1 for creating a distributable sample database.
If you are trying to make the server into a monolithic object, that's
not something we support or have any particular interest in supporting.
Extensions such as PLs are always built as shared libraries. So are
the encoding conversion modules, which your build is failing on before
it gets to any others. It would take a good deal of fooling around
to change that, both in the build process and in the way that the
core server invokes that functionality.
Statically linking client-side programs such as psql is more within
the realm of feasibility, but you'd have to adjust just those builds
rather than trying to apply --static across the board.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера