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)
** Changed in: mysql-5.1 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/877458
Title:
MySQL undefined references
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/877458/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs