Would you mind quickly sending us the file `detailed.log` that you can find in the build directory? This would help us a lot.
On Mon, Aug 24, 2020, at 16:40 CDT, Aaditya Lakshmanan <aaditya8...@gmail.com> wrote: > [100%] Built target obj_fe_debug > [100%] Linking CXX shared library ../lib/libdeal_II.g.so > /usr/bin/ld: cannot find -lAtpSigHandler > /usr/bin/ld: cannot find -lAtpSigHCommData This implies that the linker (in this case "/usr/bin/ld" was invoked) was not able to find the library "AtpSigHandler". So, your compiler toolchain seems to do the right thing by adding -lAtpSigHandler -lAtpSigHCommData to the link line but the linker does not know the correct library location (which would typically be specified by -L<...>). This begs the question whether "/usr/bin/ld" is actually the correct linker. > The problem is that somewhere in the cmake files it's missing: > ``` > find_library(ATP_SIGHANDLER_LIBRARY NAMES AtpSigHandler) > target_link_libraries(<Target> ${ATP_SIGHANDLER_LIBRARY}) > ``` It looks like that these two commands might work around the problem by letting cmake add a "-L<...>" to the command line. You can give this a shot with the following changes to source/CMakeLists.txt: diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index a6d85d8b68..86ca17d073 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -158,10 +158,12 @@ FOREACH(build ${DEAL_II_BUILD_TYPES}) ) ENDIF() + find_library(ATP_SIGHANDLER_LIBRARY NAMES AtpSigHandler) TARGET_LINK_LIBRARIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX} ${DEAL_II_LIBRARIES_${build}} ${DEAL_II_LIBRARIES} + ${ATP_SIGHANDLER_LIBRARY} ) FILE(MAKE_DIRECTORY But I would rather prefer to figure out why our cmake configurations (probably?) selects the wrong linker. In any case, please show us the full contents of detailed.log 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/87sgcawicz.fsf%4043-1.org.