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:
This is due to a toolchain change in oneiric. /wiki.ubuntu. com/NattyNarwha l/ToolchainTran sition
Now by default the linker flag --as-needed is used, which requires you to place the libraries behind objects needing their symbols.
See: https:/
A fix should be to simply do this:
g++ $(mysql_config --cflags) $1.cpp $(mysql_config --libs)