Jeff Hamann
2009-Sep-30 00:50 UTC
[Rd] unable to load shared library (Symbol not found: _PQbackendPID)
I can't get the RPostgreSQL library to load on OSX and have no idea where it's going wrong... > library( RPostgreSQL ) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Users/hamannj/Library/R/2.9/library/ RPostgreSQL/libs/i386/RPostgreSQL.so': dlopen(/Users/hamannj/Library/R/2.9/library/RPostgreSQL/libs/i386/ RPostgreSQL.so, 6): Symbol not found: _PQbackendPID Referenced from: /Users/hamannj/Library/R/2.9/library/RPostgreSQL/ libs/i386/RPostgreSQL.so Expected in: flat namespace in /Users/hamannj/Library/R/2.9/library/RPostgreSQL/libs/i386/ RPostgreSQL.so Error: package/namespace load failed for 'RPostgreSQL' I've used this on OSX before and have had to recently rebuild... does anyone know if an older archive works? Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com [[alternative HTML version deleted]]
Dirk Eddelbuettel
2009-Sep-30 01:21 UTC
[Rd] unable to load shared library (Symbol not found: _PQbackendPID)
Jeff, On 29 September 2009 at 17:50, Jeff Hamann wrote: | I can't get the RPostgreSQL library to load on OSX and have no idea | where it's going wrong... | | > library( RPostgreSQL ) | Error in dyn.load(file, DLLpath = DLLpath, ...) : | unable to load shared library '/Users/hamannj/Library/R/2.9/library/ | RPostgreSQL/libs/i386/RPostgreSQL.so': | dlopen(/Users/hamannj/Library/R/2.9/library/RPostgreSQL/libs/i386/ | RPostgreSQL.so, 6): Symbol not found: _PQbackendPID | Referenced from: /Users/hamannj/Library/R/2.9/library/RPostgreSQL/ | libs/i386/RPostgreSQL.so | Expected in: flat namespace | in /Users/hamannj/Library/R/2.9/library/RPostgreSQL/libs/i386/ | RPostgreSQL.so | Error: package/namespace load failed for 'RPostgreSQL' As you know, questions / complaints about contributed packages should go to the maintainer first, i.e. me. Now, I do not have access to OS X -- but Neil (CC'ed) kindly covers that angle. Maybe the two of you can sort this out? | I've used this on OSX before and have had to recently rebuild... does | anyone know if an older archive works? The current version works for other on OS X as far as I know. Dirk -- Three out of two people have difficulties with fractions.