pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems compiling mariadb clients from pkgsrc-2024Q2



I have just tried to compile mariadb1011-client using pkgsrc-2024Q2 on 
an amd64 system running NetBSD 10.0

The process croaks at this point:

Linking C shared module auth_gssapi_client.so
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
*** Error code 1

Earlier on in the compile process when cmake is testing libraries the
following warnings are issued:

CMake Warning (dev) at plugin/auth_gssapi/cmake/FindGSSAPI.cmake:66
(exec_program):
  Policy CMP0153 is not set: The exec_program command should not be
called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the
cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  plugin/auth_gssapi/CMakeLists.txt:19 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at plugin/auth_gssapi/cmake/FindGSSAPI.cmake:70
(exec_program):
  Policy CMP0153 is not set: The exec_program command should not be
called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the
cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  plugin/auth_gssapi/CMakeLists.txt:19 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found GSSAPI: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err

The warning doesn't appear to be a showstopper, but something is not
picking up the correct libraries or paths.

The same problem shows up this older versions of mariadb-client.

Can anyone suggest a fix or workaround? - at a guess (because multiple
versions of mariadb are involved) this is something to do with cmake
failing.

Cheers,
Dave

--
=========================
Phone: 07805784357
GnuPG Fingerprint: 9D69D60DA2CB9869
=========================


Home | Main Index | Thread Index | Old Index