On 23/09/2005, at 8:00 PM, Richard Piper wrote: > Loading required package: DBI > 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'
This error is caused by linking together object modules (static libraries) compiled with a mixture of gcc-3.x and gcc-4.x. It is quite easy to fall into this trap on Tiger because the default compiler is gcc-4 but you might build R code with gcc-3.3 to use g77. Bill Northcott _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
