Closed shahriar-shojib closed 3 years ago
Hi, sorry the delay, been outside all weekend.
Well, never thought somebody wanted to use this on android... This issue is fixed for Linux, but the fix seems to not apply to Android specifically, for some reason. I will try to debug on my phone directly and come back here with what I will find.
Thanks for raising the issue :)
A btw, in the meantime try to install
libflac
. The node library should detect an already existing libFLAC and use that instead (but I did not tested this, so it may fail)
Hi again. I've been testing a bit on my phone and installing libflac
seems to "fix" the issue (not exactly but it should work for your case). Also found why the installation failed and made a fix for Android when the phone does not have libflac
installed (your scenario I guess). Right now I cannot create a new release, so if it is ok for you to install libflac
on termux and give it a try...
First of all, I can see that there are prebuilts for amd64 but for some reason, it tries to compile it.
Let me explain: AMD64 is for desktops in general, smartphones uses aarch64 (see you uname -a
) architecture which is ARM v8 64-bit. I also have aarch64 prebuild images for Linux but not for Android, so everything must be compiled for smartphones. As mentioned before, if you install libflac
before this package, the compilation time will reduce because it will not need to compile libflac
, only this package's code (which also takes some time).
I am pretty sure I had libflac and cmake installed beforehand, I'll check again. Thanks for the update.
Hi again, any update on this? Have you managed to install it?
Hello, I am trying to install flac-bindings on android with termux.
First of all, I can see that there are prebuilts for amd64 but for some reason, it tries to compile it. And when compiling , it fails with the following message:
I think I also installed all the dependencies correctly as well. Please advise.