nexusformat / code

NeXus API code and helper applications
GNU Lesser General Public License v2.1
11 stars 17 forks source link

Fedora 28 missing library #456

Open sa35 opened 6 years ago

sa35 commented 6 years ago

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)

mkoennecke commented 3 years ago

Is this still relevant? We are now on fedora 33