Run ldconfig to add /usr/local/lib to path

This commit is contained in:
Matthias 2019-08-07 21:35:52 +02:00
parent cc4900f66c
commit 757538f114

View File

@ -72,6 +72,10 @@ function install_talib() {
./configure --prefix=/usr/local ./configure --prefix=/usr/local
make make
sudo make install 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 .. && rm -rf ./ta-lib/
cd .. cd ..
} }