DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mysql 4.1.13 compile info

From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 31 Jul 2005 14:03:25 -0700

On Sun, 31 Jul 2005, Joerg Anslik wrote:

> Hi,
> I don't know if this is related to "us" or "them", but compiling mysql
> 4.1.13 from ports results in carloads of
> [...]
> undefined reference to  '__cxa_pure_virtual'
> [...]
> messages. I found that disabling the "CXX= ${CC}" line in the top
> level Makefile gets around this and the package just compiles fine
> (not using libstdc++ and friends).
> I checked the mysql docs, etc. and came accross recommendations not to
> build with libstdc++ when using gcc 3.xxx...

I see this in the mysqul.info file:

If you are using `gcc' 3.0 and above to compile MySQL, you must
install the `libstdc++v3' library before compiling MySQL; if you
don't do this, you get an error about a missing
`__cxa_pure_virtual' symbol during linking.

I see that symbol defined in /usr/lib/gcc34/libstdc++.a, as the
paragraph above hints.

So why is libstdc++ not being linked in as it should be?  My 'evil
detector' smells libtool at work here!

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]