Index: OrthancServer/CMakeLists.txt
--- OrthancServer/CMakeLists.txt.orig
+++ OrthancServer/CMakeLists.txt
@@ -615,14 +615,13 @@ if (ENABLE_PLUGINS AND BUILD_SERVE_FOLDERS)
 
   set_target_properties(
     ServeFolders PROPERTIES 
-    VERSION ${ORTHANC_VERSION} 
-    SOVERSION ${ORTHANC_VERSION}
+    LINK_FLAGS "-Wl,-soname,libServeFolders.so"
     )
 
   install(
     TARGETS ServeFolders
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
@@ -665,14 +664,13 @@ if (ENABLE_PLUGINS AND BUILD_MODALITY_WORKLISTS)
 
   set_target_properties(
     ModalityWorklists PROPERTIES 
-    VERSION ${ORTHANC_VERSION} 
-    SOVERSION ${ORTHANC_VERSION}
+    LINK_FLAGS "-Wl,-soname,libModalityWorklists.so"
     )
 
   install(
     TARGETS ModalityWorklists
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
@@ -736,7 +734,7 @@ if (ENABLE_PLUGINS AND BUILD_CONNECTIVITY_CHECKS)
   install(
     TARGETS ConnectivityChecks
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
@@ -790,7 +788,7 @@ if (ENABLE_PLUGINS AND BUILD_DELAYED_DELETION)
   install(
     TARGETS DelayedDeletion
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
@@ -832,14 +830,13 @@ if (ENABLE_PLUGINS AND BUILD_HOUSEKEEPER)
   
   set_target_properties(
     Housekeeper PROPERTIES 
-    VERSION ${ORTHANC_VERSION} 
-    SOVERSION ${ORTHANC_VERSION}
+    LINK_FLAGS "-Wl,-soname,libHousekeeper.so"
     )
   
   install(
     TARGETS Housekeeper
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
@@ -907,7 +904,7 @@ if (ENABLE_PLUGINS AND BUILD_MULTITENANT_DICOM)
   install(
     TARGETS MultitenantDicom
     RUNTIME DESTINATION lib    # Destination for Windows
-    LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
+    LIBRARY DESTINATION libexec/orthanc/plugins    # Destination for Linux
     )
 endif()
 
