need help for ta-lib installation on alpine
crypto-kotha opened this issue · 1 comments
Hi guys, i am unable to install ta-lib
when i try to make its report there is no rules to make
and then i try sudo make install and again its report No rule to make target 'install'. Stop.
so what is the proper solution? please help
ta-lib installation on archlinux or alpine
at first we need to install ta-lib from termux repo by
pkg install ta-lib
and then
pip install ta-lib
for alpine export ta-lib library path to alpine destination folder.... so copy below command.
export TA_LIBRARY_PATH=$PREFIX/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/alpine/usr/lib/
export TA_INCLUDE_PATH=$PREFIX/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/alpine/usr/include/
and then......go to termux inside files/user/include folder. here you can see ta-lib. so lets copy ta-lib.
we are going to the path...
cd /data/data/com.termux/files/usr/include/
cp -r ta-lib /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/alpine/usr/include/
and then
cd ..
cd lib
cp -r libta_lib.so libta_lib.so.0 libta_lib.so.0.0.0 /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/alpine/usr/lib
login....
proot-distro login alpine
pip install ta-lib
and for archlinux just replace alpine to archlinux form every command.
Done.