[R] RMySQL not loading on Mac OS X

From: Georg Otto <georg.otto_at_tuebingen.mpg.de>
Date: Thu 11 Aug 2005 - 01:16:31 EST


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:


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!



Georg Wilhelm Otto
Max-Planck-Institute for Developmental Biology
Spemannstrasse 35/III
D-72076 Tuebingen Germany
phone: +49-7071-601 444

	[[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Aug 11 01:21:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:45 EST