tomoakin / RPostgreSQL

Automatically exported from code.google.com/p/rpostgresql
64 stars 20 forks source link

Old problem: libpg version problems #127

Open davidjayjackson opened 1 year ago

davidjayjackson commented 1 year ago

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?

tomoakin commented 1 year ago

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).

davidjayjackson commented 1 year ago

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

fnavarro94 commented 1 year ago

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

davidjayjackson commented 1 year ago

Hi I didn't.

jbfagotfede39 commented 1 year ago

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