Skip to content

Instantly share code, notes, and snippets.

@denisdemaisbr
Last active September 15, 2024 17:39
Show Gist options
  • Save denisdemaisbr/7862f2f0485c37d642d3ea57b69240a3 to your computer and use it in GitHub Desktop.
Save denisdemaisbr/7862f2f0485c37d642d3ea57b69240a3 to your computer and use it in GitHub Desktop.
how compile ta-lib
#!/bin/sh
set -e
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
./configure --prefix=/usr/local
make
sudo make install
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment