[MDEV-5725] libmysqld* is not packaged in debs Created: 2014-02-24 Updated: 2016-11-20 Resolved: 2016-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 5.5.36, 10.0.26, 10.1.16 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | contribution, debian, foundation, packaging | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Neither libmysqld.so* nor libmysqld.a are present in 5.5 debian packages. Apparently, they never were (not even in the very first 5.5.20-alpha). |
| Comments |
| Comment by Otto Kekäläinen [ 2014-07-04 ] | ||||||||||||
|
As part of the fixes in In a comment to I cannot copy a solution from the MySQL packaging side, as to my knowledge MySQL in Debian does not have any libmysqld.so (https://packages.debian.org/search?searchon=contents&keywords=libmysqld.so&mode=filename&suite=unstable&arch=any) though the embedded lib is described in the MySQL.com docs (https://dev.mysql.com/doc/refman/5.5/en/libmysqld.html). | ||||||||||||
| Comment by Otto Kekäläinen [ 2014-12-21 ] | ||||||||||||
|
tturenko Do you think the best solution would be to move the libmysqld.so file into the mariadb-server-core-10.0 package? There the libmysqld would have access to the errmsg.sys files etc for sure. See file listing at http://labs.seravo.fi/~otto/mariadb-repo/mariadb-10.0-sid-amd64/filelist-ec07593.log If so, then the libmariadbd-dev package would contain only the libmysqld.a file. What about other development files, should a libmsqld.h file exist somewhere? | ||||||||||||
| Comment by Timofey Turenko [ 2015-01-13 ] | ||||||||||||
|
I guess libmariadbd-dev should contain only .a file, but I'm not sure regarding proper location for libmysqld.so | ||||||||||||
| Comment by Daniel Black [ 2016-07-20 ] | ||||||||||||
|
To be consistent with ubuntu yes libmariadbd-dev should contain the .a file. The .so file could go in a libmariadbd package maybe but otherwise libmariadbd-dev - I'm not too fussy. There also needs to be header files that define the API in libmariadb-dev (which is also an upstream problem). A pkg-config file would be really nice too to avoid hacks like https://github.com/mariadb-corporation/MaxScale/blob/develop/cmake/FindMySQL.cmake#L42 . Ubuntu file list: http://packages.ubuntu.com/xenial/amd64/libmariadbd-dev/filelist Attempting to build maxscale appears to need the ubuntu libmariadbd-dev for these shared libraries and the mariadb packaged libmariadbclient-dev for the headers which all would agree is kinda daft. | ||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2016-11-03 ] | ||||||||||||
|
The original problem doesn't occur in latest internal release 10.2.3 http://buildbot.askmonty.org/buildbot/builders/kvm-deb-trusty-amd64/builds/3854 (after installing libmariadbd-dev_10.2.3+maria~trusty_amd64.deb ): | ||||||||||||
| Comment by Daniel Black [ 2016-11-03 ] | ||||||||||||
|
Good start on getting a .a file there. From http://hasky.askmonty.org/archive/10.2/build-11869/kvm-deb-xenial-amd64/debs/binary/
Added mariadb_config to dev package. Check that mariadb_config output the right library name - I suspect -lmariadb will be used despite mysqld being installed. Unfixed: /usr/bin/mysql_config --port is 0 (this is client side config). Couldn't work out why. | ||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-04 ] | ||||||||||||
|
Please keep in mind that most of these Debian packaging issues are already fixed in Debian.org repositories. To avoid duplicate work, please check if the change is already in http://git.debian.org/?p=pkg-mysql/mariadb-10.0.git |