-
Notifications
You must be signed in to change notification settings - Fork 9
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
build postgrest failed with error message setup: The program 'pg_config' is required but it could not be found #15
Comments
Thanks for the issue! The error makes sense to me, since the container does not have anything related to If it works, I would be happy to add it to the container. |
I tried to add the
Looks like there're still some libraries missing but I don't know what they are. |
Adding
And if we look at the static object file, that
I googled a bit, and here's what I found:
So, in the end, I think this is an Alpine issue. You could try raising it on Alpine Linux's bug tracker, to see if they can provide a |
@utdemir , Thanks for your research and update.
This is inspiring. Consider the following error messag:
I highly believe that the |
Strange. I checked the built log of the alpine linux postgresql package. The latest build log shows that their package includes both |
Did anyone get this working (i.e. specifically the Further, is there a more general way of linking everything statically EXCEPT a few libraries for which it is very hard to get a static version? |
Hey there, I recently gave this a try for myself and it appears to currently work. Here were the steps I followed:
|
Unfortunately, no dice. That said, I'm trying to build my own webapp which uses Build log
It appears that the
|
I'm getting the same issue; did you end up resolving it? |
I tried to build a fully static linked postgrest binary with this docker image and met following error when
building the
postgresql-libpq
pacakge:The text was updated successfully, but these errors were encountered: