[R] RMySQL_0.5.5 / SUSE9.2

christian schulz ozric at web.de
Tue Dec 21 15:02:10 CET 2004


Hi,

where is my mistake?

i have done follow comand-lines.

export PKG_LIBS="-L/usr/lib/myslq"
export PKG_CPPFLAGS="-I/usr/include/mysql"
R CMD INSTALL  RMySQL_0.5-5.tar.gz

i'm using R-2.0.1 , suse 9.2, 5.0.0-alpha-standard , and after a succefuel 
compilaition i get  when im type in R library(RMySQL):

Loading required package: DBI
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library 
"/usr/local/lib/R/library/RMySQL/libs/RMySQL.so":
  /usr/local/lib/R/library/RMySQL/libs/RMySQL.so: undefined symbol: 
mysql_field_count
Error in library(RMySQL) : .First.lib failed for 'RMySQL'

P.S.
Perhaps MySQL 5.0.0-alpha cause the error, but in the past it works
under linux.........?

many thanks & 
regards, christian




More information about the R-help mailing list