[R] RMySQL adn FC6 - install fail

2007-01-02 Thread R Gott
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

Any help woudl be appreciated.  I couldn't find anytign in teh archives.

Richard

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] RMySQL adn FC6 - install fail

2007-01-02 Thread Peter Dalgaard
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

[EMAIL PROTECTED] ~]$ rpm -qf /usr/lib64/libz.so
zlib-devel-1.2.3-3
[EMAIL PROTECTED] ~]$ 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
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.