[R-SIG-Mac] More on installing RMySQL

gene gene02_rsigmac at smalltime.com
Wed Nov 30 20:30:47 CET 2005


Thanks, Byron.  I tried editing SHLIB, but I still had the same  
probem.  I did check my version of XCode and it was 2.1.  I updated  
XCode to 2.2 and recompiled, and this time it worked.  I never undid  
the SHLIB modification, so I don't know whether or not that was  
required in the context of the XCode update.



On Nov 29, 2005, at 12:48 PM, Byron Ellis wrote:

> 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