message: [db_sql_plugin] plugin is optional in front of SOCI lib in the system
diff: @@ -53,11 +53,15 @@ target_link_libraries( nodeos
  PRIVATE -Wl,${whole_archive_flag} net_api_plugin -Wl,${no_whole_archive_flag}
  # PRIVATE -Wl,${whole_archive_flag} faucet_testnet_plugin -Wl,${no_whole_archive_flag}
  PRIVATE -Wl,${whole_archive_flag} txn_test_gen_plugin -Wl,${no_whole_archive_flag}
  - PRIVATE -Wl,${whole_archive_flag} sql_db_plugin -Wl,${no_whole_archive_flag}
  PRIVATE -Wl,${whole_archive_flag} db_size_api_plugin -Wl,${no_whole_archive_flag}
  PRIVATE chain_plugin http_plugin producer_plugin
  PRIVATE eosio_chain fc ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS} )
  +find_package(Soci QUIET)
  +if(SOCI_FOUND)
  + target_link_libraries( nodeos PRIVATE -Wl,${whole_archive_flag} sql_db_plugin -Wl,${no_whole_archive_flag} )
  +endif()
  +
  #if(BUILD_MONGO_DB_PLUGIN)
  # target_link_libraries( nodeos
  # PRIVATE -Wl,${whole_archive_flag} mongo_db_plugin -Wl,${no_whole_archive_flag} )
  