Bug 209763 - databases/p5-DBD-mysql: Port wants mysql56-client installed even if mysql57-client is already installed
Summary: databases/p5-DBD-mysql: Port wants mysql56-client installed even if mysql57-c...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-perl (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-05-26 12:03 UTC by Ron Wingfield
Modified: 2016-07-06 10:34 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Wingfield 2016-05-26 12:03:30 UTC
Apparently, the p5-DBD-mysql port insist on installing the databases/mysql56-client when the mysql57-client-5.7.12, and server, are already installed?

Posted here:  https://forums.freebsd.org/threads/56390/#post-320797

"Databases/p5-DBD-mysql requires [?] libmysqlclient.so.18 which is a library specific to the databases/mysql56-client port, hence the version clash."
Comment 1 VK 2016-05-26 16:22:03 UTC
Thanks for the report. Setting proper maintainer, don't know why bugzilla set ale@, but leaving him in CC.
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2016-05-27 07:00:51 UTC
I just tried this in a clean jail without DEFAULT_VERSIONS=mysql=57:

cd /usr/ports/databases/mysql57-client && make install
cd /usr/ports/databases/p5-DBD-mysql && make install

and installing DBD::mysql, it does say:

===>   p5-DBD-mysql-4.033 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20)

So, something must be wrong about how you're doing it, and without logs, it's a bit hard to see what may, or may not, happen.