Re: Problem compiling mysql on FreeBSD
Hi All, Does anyone have any ideas on this one? Could I maybe try to install a newer version of whatever package installs libstdc++? Anyone know what package installs this file? Thanks for the help, Shawn - Original Message - From: Shawn Heeley <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 11:56 PM Subject: Re: Problem compiling mysql on FreeBSD > Hi Bill and All, > > Thanks for the suggestions. Here's what I've tried: > > Installed gmake and gcc. My pkg_info looks like the following (I've cut out > the irrelevant ones): > bash-2.03 The GNU Borne Again Shell > gcc-2.95.3.test3GNU compiler suite > gettext-0.10.35 GNU gettext package > glib-1.2.7 Some useful routines of C programming > gmake-3.79.1GNU version of 'make' utility > gtk-1.2.7 General Toolkit for X11 GUI > gtk-engines-0.10Theme engine for gtk+ toolkits > libtool-1.3.3 Generic shared library support script > mysql-client-3.23.33 Multithreaded SQL database (client) > mysql-server-3.23.33 Multithreaded SQL database (server) > qt-1.45 A C++ X GUI toolkit > > After installing the only version of gcc I could fine 2.95.3(?), both > methods below produced exactly the same error. BTW, in order to install > gcc, I had to install gmake. The error message I'm getting is usually, in my > limited experience, due to the version of libstdc++.so on my system not > being the same version of libstdc++ that mysql was compiled/linked with. > Does anyone know the version that mysql was compiled with and if so, how do > I check what version I currently have? > > Thanks all for the help, > Shawn > > - Original Message - > From: Bill Swanson <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; Shawn Heeley <[EMAIL PROTECTED]> > Sent: Wednesday, February 28, 2001 8:05 AM > Subject: Re: Problem compiling mysql on FreeBSD > > > > Try upgrading to gcc 2.95.2. That should fix the problem. > > This cured my 'Installation of grant tables failed' error > > condition. > > > > Rgds, Bill Swanson > > DNA Enterprises, Inc. > > MIS Manager > > 972-671-1972 > > email: [EMAIL PROTECTED] > > > > > > > > -- Original Message -- > > From: "Shawn Heeley" <[EMAIL PROTECTED]> > > Date: Tue, 27 Feb 2001 23:07:01 -0500 > > > > >Hi folks, > > > > > >This appears to be a common problem that I can't seem to find a > > solution. > > >No matter which approach I take to trying to install mysql- > > server, the end > > >result is the same. It doesn't work. I apologize for the long > > message. > > >Thanks for the help. > > > > > >System Specs > > >FreeBSD www.machine.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon > > Mar 20 > > >22:50:22 GMT 2000 > > >libtool -> libtool-1.3.3 > > >mysql-client-> mysql-client-3.23.33 > > > > > >I've tried two different approaches for installation. > > > > > >Source Installation > > >pkg_add ./mysql-server-3.23.33.tgz > > > > > >Result: > > >machine# pkg_add ./mysql-server-3.23.33.tgz > > >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! > > ><SNIP...> > > >pkg_add: command '/usr/local/bin/mysql_install_db' failed > > >mysql:*:88: > > >You already have a group "mysql", so I will use it. > > >mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin > > >You already have a user "mysql", so I will use it. > > >Changed home directory of "mysql" to "/var/db/mysql" > > > > > >Running the mysqld command above produces the following message: > > >machine# /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: > > Undefined symbol > > >"__ti9exception" > > > > > >Using the Ports method: > > >cd /usr/ports/databases/mysql322-server;make install > > > > > >Result: > > >===> Patching for mysql-server-3.22.32 > > >===> Applying FreeBSD patches for mysql-server-3.22.32 > > >Ignoring
Re: Problem compiling mysql on FreeBSD
Hi Bill and All, Thanks for the suggestions. Here's what I've tried: Installed gmake and gcc. My pkg_info looks like the following (I've cut out the irrelevant ones): bash-2.03 The GNU Borne Again Shell gcc-2.95.3.test3GNU compiler suite gettext-0.10.35 GNU gettext package glib-1.2.7 Some useful routines of C programming gmake-3.79.1GNU version of 'make' utility gtk-1.2.7 General Toolkit for X11 GUI gtk-engines-0.10Theme engine for gtk+ toolkits libtool-1.3.3 Generic shared library support script mysql-client-3.23.33 Multithreaded SQL database (client) mysql-server-3.23.33 Multithreaded SQL database (server) qt-1.45 A C++ X GUI toolkit After installing the only version of gcc I could fine 2.95.3(?), both methods below produced exactly the same error. BTW, in order to install gcc, I had to install gmake. The error message I'm getting is usually, in my limited experience, due to the version of libstdc++.so on my system not being the same version of libstdc++ that mysql was compiled/linked with. Does anyone know the version that mysql was compiled with and if so, how do I check what version I currently have? Thanks all for the help, Shawn - Original Message - From: Bill Swanson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Shawn Heeley <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 8:05 AM Subject: Re: Problem compiling mysql on FreeBSD > Try upgrading to gcc 2.95.2. That should fix the problem. > This cured my 'Installation of grant tables failed' error > condition. > > Rgds, Bill Swanson > DNA Enterprises, Inc. > MIS Manager > 972-671-1972 > email: [EMAIL PROTECTED] > > > > -- Original Message -- > From: "Shawn Heeley" <[EMAIL PROTECTED]> > Date: Tue, 27 Feb 2001 23:07:01 -0500 > > >Hi folks, > > > >This appears to be a common problem that I can't seem to find a > solution. > >No matter which approach I take to trying to install mysql- > server, the end > >result is the same. It doesn't work. I apologize for the long > message. > >Thanks for the help. > > > >System Specs > >FreeBSD www.machine.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon > Mar 20 > >22:50:22 GMT 2000 > >libtool -> libtool-1.3.3 > >mysql-client-> mysql-client-3.23.33 > > > >I've tried two different approaches for installation. > > > >Source Installation > >pkg_add ./mysql-server-3.23.33.tgz > > > >Result: > >machine# pkg_add ./mysql-server-3.23.33.tgz > >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! > ><SNIP...> > >pkg_add: command '/usr/local/bin/mysql_install_db' failed > >mysql:*:88: > >You already have a group "mysql", so I will use it. > >mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin > >You already have a user "mysql", so I will use it. > >Changed home directory of "mysql" to "/var/db/mysql" > > > >Running the mysqld command above produces the following message: > >machine# /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: > Undefined symbol > >"__ti9exception" > > > >Using the Ports method: > >cd /usr/ports/databases/mysql322-server;make install > > > >Result: > >===> Patching for mysql-server-3.22.32 > >===> Applying FreeBSD patches for mysql-server-3.22.32 > >Ignoring previously applied (or reversed) patch. > >3 out of 3 hunks ignored--saving rejects to > scripts/mysql_install_db.sh.rej > >*** Error code 3 > > > >Stop in /usr/ports/databases/mysql322-server. > >*** Error code 1 > > > >Stop in /usr/ports/databases/mysql322-server. > >*** Error code 1 > > > >Stop in /usr/ports/databases/mysql322-server. > >*** Error code 1 > > > >Stop in /usr/ports/databases/mysql322-server. > >*** Error code 1 > > > >Stop in /usr/ports/databases/mysql322-server. > >*** Error code 1 > > > >Stop in /usr/ports/databases/mysql322-server. > > > > > > > >-- > --- > >Before posting, please check: > > http://www.mysql.com/manual.php (the manual) > > http://lists.mysql.com/
Problem compiling mysql on FreeBSD
Hi folks, This appears to be a common problem that I can't seem to find a solution. No matter which approach I take to trying to install mysql-server, the end result is the same. It doesn't work. I apologize for the long message. Thanks for the help. System Specs FreeBSD www.machine.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000 libtool -> libtool-1.3.3 mysql-client-> mysql-client-3.23.33 I've tried two different approaches for installation. Source Installation pkg_add ./mysql-server-3.23.33.tgz Result: machine# pkg_add ./mysql-server-3.23.33.tgz 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!pkg_add: command '/usr/local/bin/mysql_install_db' failed mysql:*:88: You already have a group "mysql", so I will use it. mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin You already have a user "mysql", so I will use it. Changed home directory of "mysql" to "/var/db/mysql" Running the mysqld command above produces the following message: machine# /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__ti9exception" Using the Ports method: cd /usr/ports/databases/mysql322-server;make install Result: ===> Patching for mysql-server-3.22.32 ===> Applying FreeBSD patches for mysql-server-3.22.32 Ignoring previously applied (or reversed) patch. 3 out of 3 hunks ignored--saving rejects to scripts/mysql_install_db.sh.rej *** Error code 3 Stop in /usr/ports/databases/mysql322-server. *** Error code 1 Stop in /usr/ports/databases/mysql322-server. *** Error code 1 Stop in /usr/ports/databases/mysql322-server. *** Error code 1 Stop in /usr/ports/databases/mysql322-server. *** Error code 1 Stop in /usr/ports/databases/mysql322-server. *** Error code 1 Stop in /usr/ports/databases/mysql322-server. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php