[debian-mysql] libmysqlclient-dev

Nicholas Bamber nicholas at periapt.co.uk
Fri May 11 05:57:06 UTC 2012


I have spent days fifguring out how the build works for this package and 
libmysqlclient##.


The first problem is that there was some cruft  in the .files. 
dh_movefiles seemed quite happy to swallow it and move on.  dh_install 
would throw it all up again.

The second problem is the link hack in debian/rules. I have split it out 
so now dh_link files are generated (and cleaned up in the clean phase). 
This is not just more "modernish" but makes it easier to see what is 
really happening. It is actually also less succinct.

Now the current behaviour - which I have preserved -  wrong.

Package: libmysql-client-dev
----------------------------
libmysqlclient.so <- libmysqlclient_r.so

Package: libmysqlclient18
-------------------------
libmysqlclient.so.18 <- libmysqlclient_r.so.18
libmysqlclient.so.18.0.0 <- libmysqlclient_r.so.18.0.0

The issue I have with it is that the  pseudo shared library 
limysqlclient_r.so does not follow the same pattern as if it were a 
physical file as libmysqlclient.so does

Package: libmysql-client-dev
----------------------------
libmysqlclient.so.18 <- libmysqlclient.so

Package: libmysqlclient18
-------------------------
libmysqlclient.so.18.0.0 <- libmysqlclient.so.18
libmysqlclient.so.18.0.0 is a physical file.


If it did it would be:
Package: libmysql-client-dev
----------------------------
libmysqlclient_r.so.18 <- libmysqlclient_r.so

Package: libmysqlclient18
-------------------------
libmysqlclient_r.so.18.0.0 <- libmysqlclient_r.so.18
libmysqlclient.so.18.0.0 <- libmysqlclient_r.so.18.0.0

So I am not sure what to think.





More information about the pkg-mysql-maint mailing list