This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Is it possible to build the library without dependency on libdl?

I am building the library from source, and my use case requires me to use the static library. Is it possible to remove the dependency on libdl? It looks like this is used to load the plugin libraries at runtime. I do not plan on using these plugins. Is it possible to entirely disable dynamic loading and thus remove the dependency on -ldl?

I have already tried setting all the plugins to `OFF` using the cmake options at the end of this page: https://mariadb.com/kb/en/configuration-settings-for-building-connectorc/ But it seems like some of them are not working...

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.