static linked library libmysqlclient.a is missing

Hi,

The static linked library libmysqlclient.a is missing.

I have an issue to use dynamical linking the libmysqlclient, as there is a version number to the end of the library. And if a client has a later version of this library, than the program will not find the library.

So one can say that it is not backward compatible, even though making a softlink makes the program to work...

Eg program is built to use "libmysqlclient.so.16", the client uses "libmysqlclient.so.18", but the program looks for libmysqlclient.so.16, which will report "no such file or directory"..

How do I resolve this issue so that the "libmysqlclient.so.X" works in my program if the client installs newer versions of the libmysqlclient code?

I thought that I can link the software as static linked program, but the libmysqlclient.a is missing?

Please advice how to resolve this, as it is of big concern.

Regards Tomas

Comments

Comments loading...
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.