RPostgreSQL icon indicating copy to clipboard operation
RPostgreSQL copied to clipboard

Old problem: libpg version problems

Open davidjayjackson opened this issue 3 years ago • 5 comments

I saw the previous issue posted. Unfortunately, I don't have the software needed to build PG from the source....

How can I build your package from the source so that it will work with the installed version of libpq?

davidjayjackson avatar Nov 18 '22 01:11 davidjayjackson

Add an optional argument type="source" to install.packages() appears the normal way to install from source. That is

install.packages("RPostgreSQL", type="source")

from inside R prompt.

Another way is

R CMD INSTALL RPostgreSQL_0.7-4.tar.gz

from the terminal after downloading the package source (https://cran.r-project.org/src/contrib/RPostgreSQL_0.7-4.tar.gz).

tomoakin avatar Nov 18 '22 01:11 tomoakin

I installed the package without errors. But am still getting the same error :(

davidjayjackson avatar Nov 18 '22 01:11 davidjayjackson

I have the same problem. Where you able to find a workaround? @davidjayjackson ? I would greatly appreciate the help.

fnavarro94 avatar Feb 25 '23 22:02 fnavarro94

Hi I didn't.

davidjayjackson avatar Feb 25 '23 22:02 davidjayjackson

As davidjayjackson, I install libpq from brew and after install.packages("RPostgreSQL", type="source") and still doesn't run : SCRAM authentication requires libpq version 10 or above.

I'm on OSX12.6.6 with M1 Pro

jbfagotfede39 avatar Jun 21 '23 05:06 jbfagotfede39