The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Mysql problem
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
 
 Re: Mysql problem
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
 
 Re: Mysql problem
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
 
 Re: Mysql problem
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
 
 Re: Mysql problem
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
 
 Re: Mysql problem
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
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org