Hi, On Thu, 22 Jun 2023 at 19:25, Efraim Flashner wrote: > (ins)efraim@3900XT ~/workspace/guix$ cat /gnu/store/v6z5ykkjfzbc72x1x900xflspqc5wd5r-openblas-ilp64-0.3.20/lib/pkgconfig/openblas.pc > libdir=/gnu/store/v6z5ykkjfzbc72x1x900xflspqc5wd5r-openblas-ilp64-0.3.20/lib > includedir=/gnu/store/v6z5ykkjfzbc72x1x900xflspqc5wd5r-openblas-ilp64-0.3.20/include > openblas_config= USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= generic MAX_THREADS=128 > version=0.3.20 > extralib=-lm -lpthread -lgfortran -lm -lpthread -lgfortran > Name: openblas > Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version > Version: ${version} > URL: https://github.com/xianyi/OpenBLAS > Libs: -L${libdir} -lopenblas > Libs.private: ${extralib} > Cflags: -I${includedir} > > Looks like it should be "LIBBLAS=-lopenblas" I propose to tweak openblas-ilp64. Currently it looks like: --8<---------------cut here---------------start------------->8--- $ tree $(guix build openblas-ilp64)/lib /gnu/store/v6z5ykkjfzbc72x1x900xflspqc5wd5r-openblas-ilp64-0.3.20/lib ├── cmake │   └── openblas │   ├── OpenBLASConfig.cmake │   └── OpenBLASConfigVersion.cmake ├── libopenblas_ilp64p-r0.3.20.so ├── libopenblas_ilp64.so -> libopenblas_ilp64p-r0.3.20.so ├── libopenblas_ilp64.so.0 -> libopenblas_ilp64p-r0.3.20.so └── pkgconfig └── openblas.pc --8<---------------cut here---------------end--------------->8--- which is inconsistent with pkgconfig as you noticed above. Therefore, I am proposing the addition of a symlink of libopenblas_ilp64p.so to libopenblas.so. For instance this attached patch.