Skip to content

Commit

Permalink
⚡️ ️install_ta-lib.sh - Run ldconfig after make install
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikj000 committed Sep 3, 2021
1 parent 103a8e8 commit eb0362c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build_helpers/install_ta-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ if [ ! -f "${INSTALL_LOC}/lib/libta_lib.a" ]; then
&& curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -o config.sub \
&& ./configure --prefix=${INSTALL_LOC}/ \
&& make -j$(nproc) \
&& which sudo && sudo make install || make install \
&& cd .. && rm -rf ./ta-lib/
&& which sudo && sudo make install || make install
if [ -x "$(command -v apt-get)" ]; then
echo "Updating library path using ldconfig"
sudo ldconfig
fi
cd .. && rm -rf ./ta-lib/
else
echo "TA-lib already installed, skipping installation"
fi
# && sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h \

0 comments on commit eb0362c

Please sign in to comment.