Public bug reported:

MySql documentation
http://dev.mysql.com/doc/refman/5.1/en/libmysqld-compiling.html

reports that programs compiled against libmysqld library should do so by using
mysql_config --libmysqld-libs

The above command reports that the following linking flags should be used
-Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -lrt

but libwrap-dev package is not listed as a package dependency to
libmysqld-dev. Therefore linking against libmysqld fails

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libmysqld-dev 5.1.41-3ubuntu12.7
Uname: Linux 2.6.34kms i686
Architecture: i386
Date: Thu Nov 25 00:27:44 2010
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
Logs.var.log.kern.log:
 Nov 21 20:11:59 bob-laptop kernel: [    8.889824] type=1505 
audit(1290363119.651:16):  operation="profile_load" pid=1324 
name="/usr/sbin/mysqld"
 Nov 21 20:11:59 bob-laptop kernel: [    9.005644] type=1505 
audit(1290363119.767:18):  operation="profile_replace" pid=1435 
name="/usr/sbin/mysqld"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: False
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: mysql-dfsg-5.1

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
libmysqld-dev missing package dependency
https://bugs.launchpad.net/bugs/681165
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to