libmysqld-dev missing package dependency

Bug #681165 reported by Nick Nerolis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Debian)
Fix Released
Unknown
mysql-dfsg-5.1 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
Nick Nerolis (tktnrgxt) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Indeed, I suspect it was expected to get pulled in by dependencies by
mysql-server-core-5.1 and/or mysql-client-5.1 on libwrap0, but
libmysqld-dev does not (recursively) lead to a dependency on those.
So I think this does need to be added as a Depends for libmysqld-dev.

Changed in mysql-dfsg-5.1 (Ubuntu):
status: New → Confirmed
Changed in mysql-dfsg-5.1 (Debian):
status: Unknown → New
Changed in mysql-dfsg-5.1 (Debian):
status: New → Confirmed
Changed in mysql-dfsg-5.1 (Debian):
status: Confirmed → Fix Committed
Changed in mysql-dfsg-5.1 (Debian):
status: Fix Committed → Confirmed
Changed in mysql-dfsg-5.1 (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.