[R] RSQLite install R x86_64 fail

Seth Falcon seth at userprimary.net
Mon Jul 12 01:09:09 CEST 2010


Hi David,


On Sun, Jul 11, 2010 at 12:27 PM, David Ruau <druau at stanford.edu> wrote:
> On a fresh install of R on mac os x 10.6.4 (snow leopard) RSQLite
> did not install while running biocLite()

How did you install R?

> $ R
> biocLite("RSQLite")
> Using R version 2.11.1, biocinstall version 2.6.7.
> Installing Bioconductor version 2.6 packages:
> [1] "RSQLite"
> Please wait...
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared library '/Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite/libs/RSQLite.so':
>  dlopen(/Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite/libs/RSQLite.so, 6): Symbol not found: _sqlite3_backup_finish
>  Referenced from: /Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite/libs/RSQLite.so
>  Expected in: flat namespace
>  in /Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite/libs/RSQLite.so
> ERROR: loading failed
> * removing ‘/Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite’
> * restoring previous ‘/Users/druau/R/x86_64-apple-darwin10.4.0-library/2.11/RSQLite’
>

What version of XCode do you have?  I have 3.2.1 and can build RSQLite
from source from an R that I have compiled from source.  If you have
an earlier version, please try upgrading and repeating the install.

> The binary install work with install.packages("RSQLite", type='mac.binary') or 'mac.binary.leopard' but the package does not load properly.
>> library('RSQLite')
> Error: package 'RSQLite' was built for universal-apple-darwin9.8.0

The mac binary package is intended to work with the R binary installer
for OS X.  So if you want to use it, you need to install R that way.

Hope that helps some.

+ seth



-- 
Seth Falcon | @sfalcon | http://userprimary.net/



More information about the R-help mailing list