[R] RMySQL adn FC6 - install fail

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Tue Jan 2 16:18:25 CET 2007


R Gott wrote:

(With a name like that you'd better get good at this....)  ;-)
> Dear anybody
>
> I am running Fedora Core 6 with the latest version of R.
>
> When I try to install the package RMySQL I get this message:
>
>         * Installing *source* package 'RMySQL' ...
>         creating cache ./config.cache
>         checking how to run the C preprocessor... /lib/cpp
>         checking for compress in -lz... no
>         checking for getopt_long in -lc... no
>         checking for mysql_init in -lmysqlclient... no
>         checking for mysql.h... no
>         checking for mysql_init in -lmysqlclient... no
>         checking for mysql_init in -lmysqlclient... no
>         checking for mysql_init in -lmysqlclient... no
>         checking for mysql_init in -lmysqlclient... no
>         checking for mysql_init in -lmysqlclient... no
>         
>         Configuration error:
>            Could not locate the library "libz" required by MySQL.
>         
>         INSTRUCTIONS:
>         
>            The "libz" library is required by the MySQL client library
>            in order to compress/uncompress connections between clients
>            and the MySQL engine.
>         
>            Make sure you have "libz" installed properly and/or included
>            in your $LD_LIBRARY_PATH.  Perhaps it is not in any of the
>            standard directories (e.g., /usr/lib/, /usr/local/lib)?
>         
>         Aborting the installation of RMySQL.
>
> I haev checked my installation adn foudn teh follwing files:
>
>         /usr/lib/libz.so (whcih points to)
>         /usr/lib/libz.so.1.2
>         
>   
(not  .so.1.2.3 ?)
> Any help woudl be appreciated.  I couldn't find anytign in teh archives.
>
> Richard
>
>   

Looks like I have

[pd at janus ~]$ rpm -qf /usr/lib64/libz.so
zlib-devel-1.2.3-3
[pd at janus ~]$ rpm -q zlib
zlib-1.2.3-3


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list