"libnotmuch5 was not found in your system. Make sure it is installed and in the library paths.\n";
"libnotmuch5 was not found in your system. Make sure it is installed and in the library paths. For a custom file path, use `library_file_path` setting in your notmuch account.\n";
#[cfg(not(feature = "notmuch_backend"))]
pubconstNOTMUCH_ERROR_MSG: &str="this version of meli is not compiled with notmuch support. Use an appropriate version and make sure libnotmuch5 is installed and in the library paths.\n";
pubconstNOTMUCH_ERROR_DETAILS: &str=r#"If notmuch is installed but the library isn't found, consult your system's documentation on how to make dynamic libraries discoverable."#;
returnErr(MeliError::new(format!("Notmuch `library_file_path` setting value `{}` for account {} does not exist or is a directory or not a valid library file.",dlpath,s.name()))
.set_kind(ErrorKind::Configuration)
.set_source(Some(Arc::new(err))));
}else{
returnErr(MeliError::new("Could not load libnotmuch!")