Skip site navigation (1)Skip section navigation (2)
Date:      Tue, Mar 28 2000 12:56:12 GMT-0500
From:      jfreeze@qx.net
To:        freebsd-questions@FreeBSD.ORG
Subject:   MySQL Package Install on 3.4 Fails
Message-ID:  <773614311541.AAA21DB@mail2.qx.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?773614311541.AAA21DB>