[R] installing RMySQL

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Sep 26 12:22:24 CEST 2001

On Wed, 26 Sep 2001, Jens Nieschulze wrote:

> Hi, I have struggled to re-implement the RMySQL package after upgrading
> from SuSe 6.3 to 7.2 and from R 1.2.1 to R 1.3.1,
> to no avail
> It compiles happily but when loading the package I get the following
> error
> > library(RMySQL)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library
> "/home/jniesch/R_HOME/lib/R/library/RMySQL/libs/RMySQL.so":
>   libmysqlclient.so.10: cannot load shared object file: No such file or
> directory
> Error in library(RMySQL) : .First.lib failed
> //////////////////////////////////////////////////////////
> I don't understand why, the shared library hasn't moved
> and the path has been added to /etc/ld.so.conf
> it even seems to me that the library is found  during
> the installation procedure

Yes, but is it available to dlopen?  That does not use ld.so.conf
AFAIK.  Have you tried putting the location of libmysqlclient.so
in LD_LIBRARY_PATH at R start time?   I need to (but then I did with


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list