$ 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.
The same problem also occurs in databases/mysql80-client.
Can you please test it with this update? https://svnweb.freebsd.org/changeset/ports/519226
(In reply to Jochen Neumeister from comment #2) No, the same problem can be reproduced with the same command.
Assignee reset.
does the problem still exist?
(In reply to Jochen Neumeister from comment #5) Yes, databases/mysql57-client is still broken, but databases/mysql80-client seems to be fixed.
work with libressl http://joneumbox.org/data/122i386-libressl-libresslports/2021-08-30_07h04m08s/logs/mysql57-client-5.7.35_1.log
(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.
Fixed: https://cgit.freebsd.org/ports/commit/?id=5ee3f5d80cb37c8ecbf55093b009c1ab1209b505
(In reply to Jochen Neumeister from comment #9) But this fix only for mysql80, not mysql57.