-
Notifications
You must be signed in to change notification settings - Fork 79
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
Configuration failed because libpq was not found. #468
Comments
Thanks. Do you need export PATH=$PATH:/usr/pgsql-15/bin ? I do wonder why it's not put on the PATH automatically. |
FWIW I was able to install in rocky-8 using only |
Aha! This seems to have worked: (I also tried: |
Thanks, Jeroen. Should we then add:
or similar to the |
When I try that, it doesn't seem to change anything:
|
I modified my .bashrc file to include |
Should this be raised with the maintainers of the relevant RHEL packages? It seems that we have a workaround here. |
Apologies @jeroen and @krlmlr for bringing this up as it seems to have been addressed previously: #118 and #350
I am running RHEL 8.9 using R 4.3.3 and attempted to install RPostgres, which failed with the following error:
I attempted the following:
sudo yum install postgresql-devel
sudo yum install libpq
which did install these things, but did not resolve the install error.
I tried
export PATH=$PATH:/usr/pgsql-15/bin/pg_config
as well (thinking this would address (ii) above, by adding pg_config to my PATH) but this also did not resolve the error. I can confirm that neither condition in (i) is true, nor do I know how to address them.Other output requested in the referenced issues:
... and the closest I can find to libpq.pc appears to be /usr/lib64/libpq.so
The text was updated successfully, but these errors were encountered: