Thank you! This works. 在 2020年5月15日星期五 UTC+8上午1:59:38,Matthias Maier写道: > > > On Thu, May 14, 2020, at 06:19 CDT, Yang Liu <yangliu...@gmail.com > <javascript:>> 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/904f800f-18f2-4a52-8714-aac382467839%40googlegroups.com.