xtb-python icon indicating copy to clipboard operation
xtb-python copied to clipboard

pip install fails: C shared or static library 'mkl_gf_lp64' not found

Open rwst opened this issue 1 month ago • 0 comments

pip install xtb==22.1
Collecting xtb==22.1
  Using cached xtb-22.1.tar.gz (62 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [38 lines of output]
      + meson setup /tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6 /tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6/.mesonpy-e4s6z4bu -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6/.mesonpy-e4s6z4bu/meson-python-native-file.ini
      The Meson build system
      Version: 1.9.1
      Source dir: /tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6
      Build dir: /tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6/.mesonpy-e4s6z4bu
      Build type: native build
      Project name: xtb-python
      Project version: undefined
      C compiler for the host machine: gcc (gcc 7.5.0 "gcc (SUSE Linux) 7.5.0")
      C linker for the host machine: gcc ld.bfd 2.43.1.20241209-150100
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
      WARNING: Found CMake '/home/ralf/.local/bin/cmake' but couldn't run it
      Found CMake: NO
      Run-time dependency xtb found: NO (tried pkgconfig and cmake)
      Looking for a fallback subproject for the dependency xtb
      Downloading xtb-6.5.1 source from https://github.com/grimme-lab/xtb/releases/download/v6.5.1/xtb-6.5.1-source.tar.xz
      
      Executing subproject xtb-6.5.1
      
      xtb-6.5.1| Project name: xtb
      xtb-6.5.1| Project version: 6.5.1
      xtb-6.5.1| Fortran compiler for the host machine: gfortran (gcc 7.5.0 "GNU Fortran (SUSE Linux) 7.5.0")
      xtb-6.5.1| Fortran linker for the host machine: gfortran ld.bfd 2.43.1.20241209-150100
      xtb-6.5.1| C compiler for the host machine: gcc (gcc 7.5.0 "gcc (SUSE Linux) 7.5.0")
      xtb-6.5.1| C linker for the host machine: gcc ld.bfd 2.43.1.20241209-150100
      xtb-6.5.1| Program git found: YES (/usr/bin/git)
      xtb-6.5.1| WARNING: You should add the boolean check kwarg to the run_command call.
      xtb-6.5.1| It currently defaults to false,
      xtb-6.5.1| but it will default to true in meson 2.0.
      xtb-6.5.1| See also: https://github.com/mesonbuild/meson/issues/9300
      xtb-6.5.1| Program python3 found: YES (/home/ralf/reactome/venv/bin/python3.12)
      xtb-6.5.1| Configuring xtb_version.fh using configuration
      
      ../subprojects/xtb-6.5.1/meson/meson.build:115:23: ERROR: C shared or static library 'mkl_gf_lp64' not found
      
      A full log can be found at /tmp/pip-install-u1w_o4ew/xtb_6612968fc5e443c484f6efc4c68d52e6/.mesonpy-e4s6z4bu/meson-logs/meson-log.txt
      [end of output]

rwst avatar Nov 19 '25 10:11 rwst