Here's how I fixed the compile problem with gcc 3.0.4 and mysql (3.23.49)
which resulted in the undefined symbol __cxa_pure_virtual error (tested
on Solaris 2.6 and 8).

The suggestion of setting CXXLD=g++ is right, but unfortunately, configure
ignores it; both client/Makefile.in and sql/Makefile.in specifically set
CXXLD to $(CXX).  Since I'm not an autoconf-knowledgeable person, what I
did was, after running configure, change the line

CXXLD = $(CXX)

to

CXXLD = g++

in the Makefiles in both client/ and sql/.  A make at this point
completed fine.  Note that, at least on Solaris, gcc 3 links the resulting
binaries to libstdc++, so be sure to have LD_LIBRARY_PATH set to include
libstdc++'s path.

My guess is the correct way to fix this is to have configure properly set
it, and do a CXXLD = @CXXLD@ in those Makefile.in files.

Bryan


---------------------------------------------------------------------
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

Reply via email to