You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maintainers and other community members of Postgres have been clear that they believe static Postgres is far more harmful than not, and are not willing to support static builds.
Retooling the entire make system to support static builds would most likely not be accepted, and is not feasible for most people to do.
Long Answer: Bundle Instead
You can vendor the needed libraries into the ./lib/ folder and then update their rpaths in order to achieve nearly the same effect as static linking - or at least much greater compatibility across systems.
This is not considered static, but may be considered portable or relocatable.
Scripts
Short Answer
The maintainers and other community members of Postgres have been clear that they believe static Postgres is far more harmful than not, and are not willing to support static builds.
Retooling the entire make system to support static builds would most likely not be accepted, and is not feasible for most people to do.
Long Answer: Bundle Instead
You can vendor the needed libraries into the
./lib/
folder and then update theirrpath
s in order to achieve nearly the same effect as static linking - or at least much greater compatibility across systems.This is not considered static, but may be considered portable or relocatable.
The instructions vary slightly by architecture:
The text was updated successfully, but these errors were encountered: