[R] RMySQL loading error

Patrice Seyed apseyed at bu.edu
Wed May 17 20:41:38 CEST 2006


i was able to install DBI and RMySQL cleanly. I get the error below on 
"library('RMySQL')".

The file it is complaining about is located in /usr/lib/mysql/, where is 
R trying to load it from? Tried a symlink into /usr/local/lib/mysql to 
no avail. thx. -P

Loading required package: DBI
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library 
'/usr/local/IT/R-2.1.0/library/RMySQL/libs/RMySQL.so':
  libmysqlclient.so.10: cannot open shared object file: No such file or 
directory
Error in library("RMySQL") : .First.lib failed for 'RMySQL'
 > q()

# find / -name libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.10

-- 
Patrice Seyed
Linux System Administrator - LinGA
RHCE, SCSA
Boston University Medical Campus




More information about the R-help mailing list