List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 6 2002 6:47pm
Subject:Re: mysql_install_db prblem
View as plain text  
I have seen this post 3 times today.
The message is telling you it can't find
libz.so.1

Obtain and install zlib.
( I run Linux, so I can't tell you where to get it. )

Shravan Durvasula wrote:

>Hi all,
>I am completely new to MySQL. I am trying to install
>MySQL on SUN SPARC Solaris 2.8.
>I downloaded
>mysql-3.23.52-sun-solaris2.8-sparc.tar.gz
>and did "gunzip" to unzip the file and then did
>"gtar".
>When i try to run mysql_install_db, i get the
>following error :
>*******************************************
>*******************************************
>*******************************************
>ld.so.1: ./bin/my_print_defaults: fatal: libz.so.1:
>open failed: No such file or directory
>WARNING: The host 'Explorer.ERC.MsState.Edu' could
>not
>be looked up with resolveip.
>This probably means that your libc libraries are not
>100 % compatible
>with this binary MySQL version. The MySQL deamon,
>mysqld, should work
>normally with the exception that host name resolving
>will not work.
>This means that you should use IP addresses instead
>of
>hostnames
>when specifying MySQL privileges !
>Preparing db table
>Preparing host table
>Preparing user table
>Preparing func table
>Preparing tables_priv table
>Preparing columns_priv table
>Installing all prepared tables
>ld.so.1: ./bin/mysqld: fatal: libz.so.1: open
>failed:
>No such file or directory
>Killed
>Installation of grant tables failed!
>Examine the logs in ./data for more information.
>You can also try to start the mysqld daemon with:
>./bin/mysqld --skip-grant &
>You can use the command line tool
>./bin/mysql to connect to the mysql
>database and look at the grant tables:
>shell> ./bin/mysql -u root mysql
>mysql> show tables
>Try 'mysqld --help' if you have problems with paths.
>Using --log
>gives you a log in ./data that may be helpful.
>The latest information about MySQL is available on
>the
>web at
>http://www.mysql.com
>Please consult the MySQL manual section: 'Problems
>running mysql_install_db',
>and the manual section that describes problems on
>your
>OS.
>Another information source is the MySQL email
>archive.
>Please check all of the above before mailing us!
>And if you do mail us, you MUST use the
>./bin/mysqlbug
>script!
>*******************************************
>*******************************************
>*******************************************
>Could anyone please help!!!
>Thanks in Advance,
>skd
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Finance - Get real-time stock quotes
>http://finance.yahoo.com
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <mysql-thread118954@stripped>
>To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


Thread
mysql_install_db prblemShravan Durvasula6 Sep
  • Re: mysql_install_db prblemGerald Clark6 Sep