- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 91
libpq >= 12 fails to static link with openssl #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
might need to look into this again; the upstream sgrif/pq-sys#27 (comment) got closed with a comment suggesting it "should work". not sure i am super hopeful, more and more references to people not getting static linking to work (even oxide in oxidecomputer/omicron#213 ). basically either we fix this now or we remove libpq entirely from the image because we can't ship a pq that's 5 major versions behind (see #126 (comment)). unfortunately i need to look at other things first, so leaving this open. |
blackdex has a pg 15 build at https://github.com/BlackDex/rust-musl/blob/6e8ffe65be307b6dfce570cd93265f36045c064c/Dockerfile.musl-base#L236-L285 👀 |
no one does seem to particularly care about this version having been EOL since 2023, and I don't have a huge desire to try to make it work given the amount of upstream resistance to static linking of it. Because I am removing openssl for #153 and libpq kind of relies on it, I will take the time to also remove It's another lib I don't trust this docker image to handle safely and you shouldn't rely on EOL versions. If you want |
Uh oh!
There was an error while loading. Please reload this page.
Similar issue as before, and others have reported it too: sgrif/pq-sys#27
This is why
libpq
is pinned to latest 11 release. we could upgrade, if pq-sys actually merged the fix :(build log
The text was updated successfully, but these errors were encountered: