Summary: | dev-db/mariadb: pkgconfig file causes overlinking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | arthur, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Tsoy
2018-06-02 11:49:16 UTC
(In reply to Alexander Tsoy from comment #0) > Overlinking example: > > !!! existing preserved libs: > >>> package: sys-libs/binutils-libs-2.30-r2 > * - /usr/lib64/libbfd-2.29.1.so > * used by /usr/lib64/dovecot/libdovecot-sql.so.0.0.0 > (net-mail/dovecot-2.2.34) > Use emerge @preserved-rebuild to rebuild packages using these libraries > > > $ ldd -r -u /usr/lib64/dovecot/libdovecot-sql.so.0.0.0 > Unused direct dependencies: > /lib64/libpthread.so.0 > /lib64/libz.so.1 > /lib64/libm.so.6 > /lib64/libdl.so.2 > /usr/lib64/libbfd-2.29.1.so > /usr/lib64/libssl.so.1.0.0 > /usr/lib64/libcrypto.so.1.0.0 I wasn't quite right. This is caused by mysql_config, not pkgconfig file. $ mysql_config --libs -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -ldl -lbfd -lssl -lcrypto This moved to dev-db/mariadb-connector-c in the meanwhile but was fixed upstream via https://github.com/mariadb-corporation/mariadb-connector-c/commit/cc5489fdade2b67a208cd4ce13d0591a5cc145f8 |