|
Author: Sergey
Date: 06-01-01 18:36
I get an error message when I try run mysql.
/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__ti9exception"
Has anyone fix similar problem?
Best regards. Sergey.
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 07-01-01 02:51
You have left out a few details.
Before you answer the below, have a read of <a href="../mysql.html">mysql.html</a>.
How did you install mysql? Via the ports? If so, what port?
What command did you issue when you tried to run mysql?
|
|
Reply To This Message
|
|
Author: Sergey
Date: 07-01-01 04:00
Hi!
More information about Mysql installation, etc.
installed from packages: mysql-server-3.23.29a and mysql-client-3.23.29a
when I try install Mysql I get this error:
./mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__ti9exception"
Installation of grant tables failed!
/usr/local/bin/mysql -u root mysql
/usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__ti9exception"
and on start the same story.
Thank you. Best regards. Sergey
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 07-01-01 12:06
Try installing from ports. cd /usr/ports/databases/mysql
My preference is always to install from ports. You get far fewer problems with ports. Packages have their place, but as a rule I don't use them.
|
|
Reply To This Message
|
|
Author: Sergey
Date: 08-01-01 23:18
Hi!
I try to do this thing and...
make
===> Patching for mysql-server-3.23.30
===> Applying FreeBSD patches for mysql-server-3.23.30
2 out of 2 hunks failed--saving rejects to scripts/mysql_install_db.sh.rej
>> Patch patch-ab failed to apply cleanly.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
*** Error code 1
Stop in /usr/ports/databases/mysql323-server.
So what happened now?
Thank you for help!
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 10-01-01 10:13
I just cvsup'd, and it worked. I suggest you cvsup again. When in doubt, cvsup.
[root@xeon:/usr/ports/databases/mysql323-server] # make extract
>> mysql-3.23.30-gamma.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://www.wipol.uni-bonn.de/MySQL/Downloads/MySQL-3.23/.
Receiving mysql-3.23.30-gamma.tar.gz (5463441 bytes): 100%
5463441 bytes transferred in 68.8 seconds (77.60 kBps)
===> Extracting for mysql-server-3.23.30_1
>> Checksum OK for mysql-3.23.30-gamma.tar.gz.
===> mysql-server-3.23.30_1 depends on executable: libtool - found
[root@xeon:/usr/ports/databases/mysql323-server] # make patch
===> Patching for mysql-server-3.23.30_1
===> Applying FreeBSD patches for mysql-server-3.23.30_1
/bin/mv /usr/ports/databases/mysql323-server/work/mysql-3.23.30-gamma/strings/strings-x86.s /usr/ports/databases/mysql323-server/work/mysql-3.23.30-gamma/strings/strings-x86.S
/bin/mv /usr/ports/databases/mysql323-server/work/mysql-3.23.30-gamma/strings/longlong2str-x86.s /usr/ports/databases/mysql323-server/work/mysql-3.23.30-gamma/strings/longlong2str-x86.S
[root@xeon:/usr/ports/databases/mysql323-server] #
|
|
Reply To This Message
|
|