Skip to content

Fedora 28 missing library #456

@sa35

Description

@sa35

Under Fedora 28 compiling nexus with options (HDF4, HDF5, MXML all enabled) fails due to a missing library (libtirpc).
I needed to add it manually in code/src/CMakeLists.txt

$ git diff CMakeLists.txt
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 444a27a..363d97c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,7 +98,7 @@ set_target_properties(NeXus_Shared_Library PROPERTIES LINK_FLAGS
"/DEF:"${CMAKE_CURRENT_SOURCE_DIR}/NeXus.def"")
endif(MSVC)

-target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS})
+target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS} tirpc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions