Skip to content
Prev 75755 / 398502 Next

RMySQL not loading on Mac OS X

On 11/08/2005, at 8:00 PM, Georg Otto wrote:
I notice this question never got a reply.

It would have been better asked on the sig-Mac list, but here are  
some pointers.

The
is caused by not linking all the necessary system libraries.

Either
1.  there is an attempt to link objects and/or static libraries built  
with gcc-3.x/g77 with objects produced by gcc-4.x/gfortran.  This  
will not work.
or
2.  there is an attempt to link using ld or libtool rather than the  
gcc compiler driver which will ensure that appropriate system  
libraries are used.

FWIW I had no problem building it, but I was using an R package which  
I built from source.  So I know the same compiler was used throughout.

If you are using the R binary distribution, make sure you have run  
'sudo gcc_select 3.3' to get the right default compiler.

Bill Northcott