[CONC-494] MariaDB-shared RHEL8 RPM installs invalid symlinks Created: 2020-09-08 Updated: 2021-04-19 Resolved: 2020-09-09 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.1.9 |
| Fix Version/s: | 3.1.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
MariaDB-shared RPM installs symlinks
but libmariadbclient.a is actually only present when MariaDB-devel is installed, which MariaDB-shared does not depend on. The libmysqlclient static library symlinks should be in MariaDB-devel, not MariaDB-shared. There are not even links to shared, but to static library files. |
| Comments |
| Comment by Sergei Golubchik [ 2020-09-09 ] |
|
indeed, cmake/symlink.cmake uses INSTALL(FILES ... COMPONENT SharedLibraries) for all symlinks, even for .a ones. This is incorrect. libmysqlclient.so and libmysqlclient.a symlinks should go into Development. libmysqlcleint.<version>.so should be in SharedLibraries. Or, perhaps, all symlinks could be in Development, ldconfig doesn't care much about file names. |
| Comment by Georg Richter [ 2020-09-09 ] |
|
commit 8581cafad41eeff315a70e51662f0fd367a1b33b Fix for Install all symlinks for shared and static libraries in |