[petsc-users] dyld[19098]: Library not loaded: @rpath/libHYPRE-2.32.0.dylib
Juan Salazar
jp.salazar at pm.me
Wed May 7 23:26:00 CDT 2025
Dear PETSc users,
I am probably doing something dumb, but since I recently updated macOS, I am getting the following errors when running `make check`: dyld[19098]: Library not loaded: @rpath/libHYPRE-2.32.0.dylib . I am also not able to compile codes that previously worked with petsc because of the same issues. The dylib is not linked, even tough it is in the path that apparently is searched.
Below is my configure command
./configure --with-debugging=0 --download-cmake --download-hypre --download-parmetis --download-metis --download-ptscotch --download-mumps --download-scalapack --with-precision=double --with-shared-libraries=1 --with-scalar-type=real --with-fc=mpifort --with-cc=mpicc --with-cxx=mpicxx CXX_LINKER_FLAGS=-Wl,-rpath,/opt/homebrew/lib CFLAGS="-g -O2 -fPIC" CXXFLAGS="-g -O2 -fPIC" FCFLAGS="-g -O2" FFLAGS="-g -O2" LDFLAGS="-Wl,-ld_classic -Wl,-commons,use_dylibs" MAKEFLAGS=w --download-bison
Attached are the configure.log and make.log and check.log files.
√ petsc-3.23.1 % mpifort --version
GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
√ petsc-3.23.1 % mpicc --version
Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
√ petsc-3.23.1 % mpicxx --version
Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
macOS Sequoia 15.4.1 (24E263)
Any help is much appreciated,
Juan S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 122134 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250508/06ad5a60/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.log
Type: application/octet-stream
Size: 30654 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250508/06ad5a60/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 4881958 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250508/06ad5a60/attachment-0005.obj>
More information about the petsc-users
mailing list