Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need help for ta-lib installation on alpine #43

Open
Nai-mul opened this issue Jul 4, 2021 · 1 comment
Open

need help for ta-lib installation on alpine #43

Nai-mul opened this issue Jul 4, 2021 · 1 comment

Comments

@Nai-mul
Copy link

Nai-mul commented Jul 4, 2021

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

@Nai-mul
Copy link
Author

Nai-mul commented Jul 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant