From owner-freebsd-questions Sat Oct 6 11:56: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10704.mail.yahoo.com (web10704.mail.yahoo.com [216.136.130.212]) by hub.freebsd.org (Postfix) with SMTP id BB9AE37B401 for ; Sat, 6 Oct 2001 11:55:59 -0700 (PDT) Message-ID: <20011006185559.97363.qmail@web10704.mail.yahoo.com> Received: from [63.24.177.59] by web10704.mail.yahoo.com via HTTP; Sat, 06 Oct 2001 11:55:59 PDT Date: Sat, 6 Oct 2001 11:55:59 -0700 (PDT) From: Subject: MySQL install problems To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having problems installing mysql-server-3.23.42 on 4.1.1-RELEASE. I am trying to install the port and have successfully installed all required ports. The error I get is: 010513 17:17:22 mysqld started /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "__ti9except ion" 010513 17:17:23 mysqld ended\n I found a previous post to the list with the exact same problem at http://www.freebsd.org/cgi/getmsg.cgi?fetch=1502020+1503667+/usr/local/www/db/text/2000/freebsd-questions/20001217.freebsd-questions but the reply was to "install the port" which is what I'm doing. The relevant documentation from the mysql site says this: "By default, configure picks c++ as the compiler name andGNU c++ links with -lg++. If you are using gcc,that behavior can cause problems during configuration such as this: configure: error: installation or configuration problem:C++ compiler cannot create executables. You might also observe problems during compilation related tog++, libg++, or libstdc++.One cause of these problems is that you may not have g++, or you mayhave g++ but not libg++, or libstdc++. Take a look atthe `config.log' file. It should contain the exact reason why your c++compiler didn't work! To work around these problems, you can use gccas your C++ compiler. Try setting the environment variable CXX to"gcc -O3". For example: shell> CXX="gcc -O3" ./configure This works because gcc compiles C++ sources as well as g++does, but does not link in libg++ or libstdc++ by default.Another way to fix these problems, of course, is to install g++,libg++ and libstdc++." I have glibstdc++-2.8.1.1 installed. When I installed it with the OS I didn't really know what I was doing (and obviously still don't) and installed pretty much anything that said gcc or g++. The pkg_info for glibstdc++-2.8.1.1 suggests problems with the PATH if using this as the default. So, my questions (finally) are should I be using glibstdc++-2.8.1.1 and how do find out if that is the default versus libstdc++? Or, should I change the compiler used during the pkg install and how do I do that? __________________________________________________ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message