On Thu, May 14, 2020, at 06:19 CDT, Yang Liu <yangliubuaan...@gmail.com> wrote:
The /usr/local/hlibpro-2.8.1/lib/libhpro.dylib dynamic library probably sets an incorrect rpath ("/lib/libhpro.dylib" instead of the full path). - You might try to export the directory in DYLD_LIBRARY_PATH: export DYLD_LIBRARY_PATH="/usr/local/hlibpro-2.8.1/lib/:${DYLD_LIBRARY_PATH}" - Alternatively, you can try to add the directory to the rpath of the executable by specifying something like this (in CMakeLists.txt): SET_TARGET_PROPERTIES(step-6 PROPERTIES BUILD_RPATH "/usr/local/hlibpro-2.8.1/lib/" ) Best, Matthias -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/87imgygzy1.fsf%4043-1.org.