Hi,

I have a problem loading RMySQL 0.5-5 on Mac OS 10.4.2 running R 2.1.1.

I installed RMySQL using:

export PKG_CPPFLAGS="-I/usr/local/mysql/include"
export PKG_LIBS="-L/usr/local/mysql/lib -lmysqlclient"

R CMD INSTALL /Users/gwo/Desktop/RMySQL_0.5-5.tar.gz


The installation seemed to work ok, but when I load RMySQL in R I get  
an error message:

 >library(RMySQL)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
         unable to load shared library '/Library/Frameworks/ 
R.framework/Resources/library/RMySQL/libs/RMySQL.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/RMySQL/ 
libs/RMySQL.so, 6): Symbol not found: _printf$LDBLStub
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
RMySQL/libs/RMySQL.so
   Expected in: flat namespace
Error in library(RMySQL) : .First.lib failed for 'RMySQL'

Any hint will be highly appreciated!

Best,

Georg



-- 
Georg Wilhelm Otto
Max-Planck-Institute for Developmental Biology
Spemannstrasse 35/III
D-72076 Tuebingen Germany
phone: +49-7071-601 444
http://www.eb.tuebingen.mpg.de


	[[alternative HTML version deleted]]


