[MDEV-16383] mariadb_config --libmysqld-libs does not work Created: 2018-06-04  Updated: 2022-01-15  Resolved: 2022-01-15

Status: Closed
Project: MariaDB Server
Component/s: Configuration, Scripts & Clients
Affects Version/s: 10.3.7, 10.2, 10.3
Fix Version/s: 10.2.42, 10.3.33, 10.4.23

Type: Bug Priority: Major
Reporter: Pali Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

$ mariadb_config --libmysqld-libs
mariadb_config: unrecognized option '--libmysqld-libs'

On the other hand mysql_config --libmysqld-libs is working fine.



 Comments   
Comment by Elena Stepanova [ 2018-06-04 ]

It is also worth mentioning that we apparently don't have any documentation for mariadb_config (or mysql_config, for that matter) in the KB, so it's unclear which options are supposed to be supported and which not.

Comment by Pali [ 2018-06-13 ]

Documentation for mysql_config already exists as manpage and it is part of MariaDB package, see: https://github.com/MariaDB/server/blob/10.3/man/mysql_config.1

Comment by Gregor Riepl [ 2019-05-02 ]

I submitted a pull request that adds the missing options to mariadb_config.c: https://github.com/MariaDB/mariadb-connector-c/pull/109
Please test it and provide feedback!

Comment by Sergei Golubchik [ 2019-05-03 ]

Thanks!

Comment by Georg Richter [ 2022-01-14 ]

Issue is fixed in MariaDB Connector/C 3.1.16, 3.2.6, 3.3.0 - so this bug can be closed if connector/c subproject was updated in server.

Generated at Thu Feb 08 08:28:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.