From faf2f73f947e642cb388cf253600057931f0547e Mon Sep 17 00:00:00 2001 From: Hui Li Date: Thu, 13 Aug 2020 14:41:49 +0800 Subject: [PATCH] [add ldconfig] --- packaging/tools/install.sh | 2 ++ packaging/tools/install_client.sh | 2 ++ packaging/tools/make_install.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index 728f40aff1..f27595a356 100644 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -209,6 +209,8 @@ function install_lib() { # ${csudo} ln -s ${install_main_dir}/connector/taos-jdbcdriver-1.0.2-dist.jar ${v15_java_app_dir}/JDBCDriver-1.0.2-dist.jar # ${csudo} chmod 777 ${v15_java_app_dir} || : #fi + + ${csudo} ldconfig } function install_header() { diff --git a/packaging/tools/install_client.sh b/packaging/tools/install_client.sh index 81e20fcbfb..6a1b7be191 100755 --- a/packaging/tools/install_client.sh +++ b/packaging/tools/install_client.sh @@ -126,6 +126,8 @@ function install_lib() { ${csudo} ln -s ${install_main_dir}/driver/libtaos.* ${lib_link_dir}/libtaos.1.dylib ${csudo} ln -s ${lib_link_dir}/libtaos.1.dylib ${lib_link_dir}/libtaos.dylib fi + + ${csudo} ldconfig } function install_header() { diff --git a/packaging/tools/make_install.sh b/packaging/tools/make_install.sh index 9af153d3d2..1a5c4d75b5 100755 --- a/packaging/tools/make_install.sh +++ b/packaging/tools/make_install.sh @@ -194,6 +194,8 @@ function install_lib() { ${csudo} ln -sf ${install_main_dir}/driver/libtaos.${versioninfo}.dylib ${lib_link_dir}/libtaos.1.dylib ${csudo} ln -sf ${lib_link_dir}/libtaos.1.dylib ${lib_link_dir}/libtaos.dylib fi + + ${csudo} ldconfig } function install_header() { -- GitLab