Comment 1 for bug 877458

Revision history for this message
Julian Taylor (jtaylor) wrote :

This is due to a toolchain change in oneiric.
Now by default the linker flag --as-needed is used, which requires you to place the libraries behind objects needing their symbols.
See: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
A fix should be to simply do this:

g++ $(mysql_config --cflags) $1.cpp $(mysql_config --libs)