mikekaminsky / rpostgresql

Automatically exported from code.google.com/p/rpostgresql
1 stars 0 forks source link

Addition for howto install for linux #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Under ubuntu linux with the default installation of postgresql, simply doing 
install.packages('RPostgreSQL')in R fails with unspecified errors. 

The problem is solved by installing the postgres server dev package before 
retrying the install.packages command in R.  eg sudo apt-get install 
postgresql-server-dev-8.4 for postgresql version 8.4.

Original issue reported on code.google.com by caiti...@gmail.com on 7 Jul 2012 at 11:37

GoogleCodeExporter commented 9 years ago
And for postgresql 9.3?
I have install postgresql 9.3 and devel versión but I obtain an error in 
compilation of rpostgresql:

...
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/lib64/R/library/RPostgreSQL/libs/RPostgreSQL.so':
  /usr/lib64/R/library/RPostgreSQL/libs/RPostgreSQL.so: undefined symbol: PQpass
Error: loading failed
Ejecución interrumpida
ERROR: loading failed
* removing ‘/usr/lib64/R/library/RPostgreSQL’

Original comment by andres17...@gmail.com on 26 Dec 2013 at 4:03