[Bug 877458] Re: MySQL undefined references
Julian Taylor
jtaylor.debian at googlemail.com
Tue Oct 18 17:53:16 UTC 2011
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
Server Team, which is subscribed to mysql-5.1 in 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
More information about the Ubuntu-server-bugs
mailing list