On 2024-06-20 10:24 AM, Ian Z via Exim-users wrote:
On Thu, Jun 20, 2024 at 10:03:23AM GMT, Jim Pazarena via Exim-users wrote:

# LOOKUP_MYSQL_PC=mariadb
LOOKUP_MYSQL_PC=mysqlclient
</QUOTE>

the exim compile error I get is:

<QUOTE>
  make
/bin/sh scripts/source_checks
../scripts/Configure-Makefile: pkg-config: not found
*** Missing pkg-config for package mysqlclient (for Exim LOOKUP_MYSQL_PC
build option)
*** Error code 1

Stop.
</QUOTE>

It is unclear (to me) what exactly the above error message is
pointing out?

Hi, for the build to work you need not only the pkg-config *data*
which is installed with the mysqlclient library, but *also* the
pkg-config program itself, which is likely a separate BSD port. I'm
guessing you omitted installing the latter on the failing server.

Does this help?


I have both pkg-1.21.3, and pkgconf-2.2.0,1 installed.
Also, to answer another helpful response, I see nothing with "devel" available that sounds applicable.

However, I went to ports/databases/mysql81-client
and compiled it. did *not* "make install".. just "make"

and then back to the exim RC1 compile. It compiled ! with a library conflict, but none-the-less .. it compiled.

<QUOTE>
gcc -o exim
/usr/local/bin/ld: warning: libssl.so.111, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libssl.so.12 /usr/local/bin/ld: warning: libcrypto.so.111, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypto.so.12

>>> exim binary built
</QUOTE>

so, something seems to have been created just within that port make, which satisfied the exim compiler. Now.. to examine what the port compile did.

I very much appreciate the comments and assistance/suggestions.


--
Jim Pazarena         e...@paz.bz
Haida Gwaii - British Columbia - Canada

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to