Bug 239109 - databases/mysql57-client: mysqlclient.pc is broken on systems without installing openssl from ports
Summary: databases/mysql57-client: mysqlclient.pc is broken on systems without install...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-10 10:42 UTC by Ting-Wei Lan
Modified: 2023-07-14 07:17 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2019-07-10 10:42:00 UTC
$ pkg-config --cflags mysqlclient
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'mysqlclient', not found

The reason of the error is that /usr/local/libdata/pkgconfig/mysqlclient.pc includes this line:
Requires.private: openssl

FreeBSD base doesn't provide a openssl.pc file, so attempts to use mysqlclient.pc always fails if there is no openssl port installed.
Comment 1 Ting-Wei Lan 2019-07-10 10:42:47 UTC
The same problem also occurs in databases/mysql80-client.
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2019-12-07 18:06:35 UTC
Can you please test it with this update?  https://svnweb.freebsd.org/changeset/ports/519226
Comment 3 Ting-Wei Lan 2019-12-11 16:17:36 UTC
(In reply to Jochen Neumeister from comment #2)
No, the same problem can be reproduced with the same command.
Comment 4 Rene Ladan freebsd_committer freebsd_triage 2020-12-07 20:00:23 UTC
Assignee reset.
Comment 5 Jochen Neumeister freebsd_committer freebsd_triage 2021-08-26 21:24:30 UTC
does the problem still exist?
Comment 6 Ting-Wei Lan 2021-08-28 04:17:55 UTC
(In reply to Jochen Neumeister from comment #5)
Yes, databases/mysql57-client is still broken, but databases/mysql80-client seems to be fixed.
Comment 8 Ting-Wei Lan 2021-08-30 16:19:55 UTC
(In reply to Jochen Neumeister from comment #7)
I don't know what you mean by 'work with libressl'. databases/mysql57-client still installs a broken mysqlclient.pc file.
Comment 10 Kirill 2023-07-14 07:17:42 UTC
(In reply to Jochen Neumeister from comment #9)
But this fix only for mysql80, not mysql57.