From 757538f1147a605f1f246821abdbfee0ac50bb9b Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 7 Aug 2019 21:35:52 +0200 Subject: [PATCH] Run ldconfig to add /usr/local/lib to path --- setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.sh b/setup.sh index 2ca6e4460..9bdafec0d 100755 --- a/setup.sh +++ b/setup.sh @@ -72,6 +72,10 @@ function install_talib() { ./configure --prefix=/usr/local make sudo make install + if [ -x "$(command -v apt-get)" ]; then + echo "Updating library path using ldconfig" + sudo ldconfig + fi cd .. && rm -rf ./ta-lib/ cd .. }