From owner-freebsd-questions Tue Mar 28 9:56:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from darkstar.qx.net (darkstar.qx.net [208.235.88.101]) by hub.freebsd.org (Postfix) with ESMTP id DD8CF37B58E for ; Tue, 28 Mar 2000 09:56:17 -0800 (PST) (envelope-from jfreeze@qx.net) Received: from mail2.qx.net (mail.qx.net [208.235.88.233]) by darkstar.qx.net (8.9.3/8.9.3) with ESMTP id MAA28634 for ; Tue, 28 Mar 2000 12:56:13 -0500 From: jfreeze@qx.net Received: from mail.qx.net ([208.235.88.43]) by mail2.qx.net (Netscape Messaging Server 3.6) with SMTP id AAA21DB for ; Tue, 28 Mar 2000 12:54:41 -0500 To: freebsd-questions@FreeBSD.ORG Cc: Subject: MySQL Package Install on 3.4 Fails Date: Tue, Mar 28 2000 12:56:12 GMT-0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <773614311541.AAA21DB@mail2.qx.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just attempted to install mysql on FBSD 3.4-RELEASE and it failed complaining of Shared object "libstdc++.so.3" not found I searched the mail archives and found similar questions, but no answers. Can anyone help? Here is the process I followed and the results: 1) Retrieved the following files from ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/packages/All mysql-client-3.22.32.tgz mysql-server-3.22.32.tgz 2) moved these files to /usr/ports/distfiles/ 3) # /usr/sbin/pkg_add mysql-client-3.22.32.tgz -- this worked 4) # /usr/sbin/pkg_add mysql-server-3.22.32.tgz -- with the following output WARNING: Your libc libraries are not 100 % compatible with this MySQL version 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 ! Creating db table Creating host table Creating user table Creating func table Creating tables_priv table Creating columns_priv table /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found Installation of grant tables failed! Examine the logs in /var/db/mysql for more information. You can also try to start the mysqld demon with: /usr/local/libexec/mysqld --skip-grant & You can use the command line tool /usr/local/bin/mysql to connect to the mysql database and look at the grant tables: shell> /usr/local/bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /var/db/mysql 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 /usr/local/bin/mysqlbug script! pkg_add: command '/usr/local/bin/mysql_install_db' failed No processes matching ``mysqld'' pkg_add: command '/usr/bin/killall mysqld' failed Added group "mysql". Added user "mysql". --- Also, I tried as it suggested to start the daemon /usr/local/libexec/mysqld --skip-grant & but this failed. One more thing, there were no log files in /var/db/mysql. Thanks for any help. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message