[Bug 225741] Re: /usr/bin/mysql_config --libs_r reports incorrect link flags

Cesare Tirabassi cesare.tirabassi at gmail.com
Fri Jul 11 14:38:11 BST 2008


Furthermore this will cause building from source to fail if used in ld calls.
See for instance ulogd:

https://launchpad.net/ubuntu/+source/ulogd/1.24-2/+build/592877

/usr/bin/mysql_config --libs reports -Wl,-Bsymbolic-functions
-L/usr/lib/mysql -lmysqlclient

And the build fails with:

ld -shared -L/usr/lib  -L/usr/lib   -Wl,-Bsymbolic-functions -L/usr/lib/mysql -lmysqlclient  -o ulogd_MYSQL.so ulogd_MYSQL_sh.o -lc
ld: unrecognized option '-Wl,-Bsymbolic-functions'
ld: use the --help option for usage information
make[2]: *** [ulogd_MYSQL.so] Error 1
make[2]: Leaving directory `/build/buildd/ulogd-1.24/mysql'
make[1]: *** [recurse] Error 1
make[1]: Leaving directory `/build/buildd/ulogd-1.24'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Importance: Undecided => Medium
       Status: New => Confirmed

-- 
/usr/bin/mysql_config --libs_r reports incorrect link flags
https://bugs.launchpad.net/bugs/225741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list