[R-SIG-Mac] More on installing RMySQL

Byron Ellis ellis at stat.harvard.edu
Tue Nov 29 21:48:43 CET 2005


Did you upgrade to Xcode 2.2? I've noticed that since doing that  
update I've had to link against SystemStubs explicitly. I did this by  
patching SHLIB et al to link -lSystemStubs instead of -lcc_dynamic  
(which isn't needed on OS X anyway since its just a symlink to libgcc  
if it exists at all). I haven't had time to figure out what changed,  
but I do know that it works and let me get back to my research. :-)

On Nov 29, 2005, at 12:37 PM, gene wrote:

> I've seen a few posts on this subject, but no resolution, so here it
> is again.
>
> I just upgraded to Mac OS 10.4 (10.4.3).
>
> Recompiling RMySQL works fine, but it will not load once compiled,
> instead producing this error message:
>
>> library(RMySQL)
> 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: _fprintf$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 is using R Version 2.2.0 (2005-10-06 r35749)
>
> Any advice would be appreciated.
>
> Thanks.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian



More information about the R-SIG-Mac mailing list