From owner-freebsd-questions Tue Mar 28 10:35:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gradwell.com (mail.gradwell.com [194.205.225.96]) by hub.freebsd.org (Postfix) with SMTP id 2BCA037B59B for ; Tue, 28 Mar 2000 10:35:40 -0800 (PST) (envelope-from dozprompt@onsea.com) Received: (qmail 31157 invoked from network); 28 Mar 2000 18:35:35 -0000 Received: from unknown (HELO merlin.onsea.com) (212.49.248.210) by mail.gradwell.com with SMTP; 28 Mar 2000 18:35:35 -0000 Received: from localhost (dozprompt@localhost) by merlin.onsea.com (8.9.3/8.9.3) with ESMTP id TAA05309; Tue, 28 Mar 2000 19:35:53 +0100 (BST) (envelope-from dozprompt@onsea.com) X-Authentication-Warning: merlin.onsea.com: dozprompt owned process doing -bs Date: Tue, 28 Mar 2000 19:35:53 +0100 (BST) From: Cliff Rowley To: jfreeze@qx.net Cc: freebsd-questions@FreeBSD.org Subject: Re: MySQL Package Install on 3.4 Fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Your answer is right there, why are you retrieving 'FreeBSD-current' packages, when you should be getting 3.x packages? Another method of installation, in case you didnt know, is to do: pkg_add -r mysql-server (This should also install the client as a dependency, but dont quote me on that - once you've install the server, check pkg_info and see.) 'pkg_add -r' will do the same as downloading the package manually and pkg_add'ing it, except that it will get the file for you. Cliff Rowley ------------------------------------------- | dozprompt@onsea.com | cliff@olive.co.uk | | cr@4site-media.com | cr@soccergen.com | | cr@easyphp.net | cr@beatreatreat.com | ------------------------------------------- - while (!asleep) { code(); } On Tue, 28 Mar 2000 jfreeze@qx.net wrote: > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message