-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Android Termux ARM64 Runtime Error #22
Comments
Not sure about this one. Looks like you're missing the
|
ok
|
Note to self: I don't know what "Termux" is; it looks like this is it: https://github.com/termux/termux-app |
The parts that stick out to me are:
and
Can you run this part by itself?: pdftoppm $user_password -tiff -r 300 "$pdf_in" "$temp_dir/pg"
# example
mkdir -p temp && pdftoppm -tiff -r 300 "in.pdf" "temp/images_pg That last cmd will create a Also, I have no idea what error code 134 is.
Note to self: here is, apparently, the |
The A couple links with similar errors:
I don't know how to check this (as I don't know a thing about Termux), but what version of Termux do you have? |
You should probably open up a bug report here (I think): https://github.com/termux/termux-packages for the termux "poppler" package which contains This is out of my realm, but the bug doesn't appear to be related directly to my As a temporary work-around you could try modifying the |
for now |
@defencedog , how can I test termux and get it running myself? This is a linux distro or emulator for a phone, no? |
@ElectricRCAircraftGuy u can install on any Android for free https://play.google.com/store/apps/details?id=com.termux&hl=en&gl=US Its a full fledge Linux within Android, with pip installed i can even run jupyter-notes |
Thanks. I just installed Termux. Runing |
Ok, here are my own attempted steps so far, and where I am stuck, myself: First, install Termux on Android. Then, inside the Termux app on Android, run: pkg install bc
pkg install git
pkg install poppler
# note: packages can be removed with `pkg remove pkg_name`
git clone https://github.com/ElectricRCAircraftGuy/PDF2SearchablePDF.git
PDF2SearchablePDF/intall.sh
mv ~/bin/pdf2searchablepdf ~/../usr/bin
pdf2searchablepdf -h
# scroll up/down with the up/down arrow keys above your keyboard in Termux
# Press Q to quit.
curl https://github.com/ElectricRCAircraftGuy/PDF2SearchablePDF/raw/master/tests/pdfs/test1.pdf > test1.pdf
pdf2searchablepdf test1.pdf # Fails! Here is my failed output:
$ pdftoppm -h
CANNOT LINK EXECUTABLE "pdftoppm": cannot locate symbol "__emutls_get_address" referenced by "/data/data/com.termux/files/usr/lib/libpoppler.so"... |
(notes to self) New attempt: Termux is deprecated from the Google Play store. Do NOT install it from the Google Play store! See the Termux installation instructions here: https://github.com/termux/termux-app#Installation, and a note directly from the maintainer here: termux/termux-packages#10470 (comment). Rather, install the open-source Android app store called F-Droid, here: https://f-droid.org/, and then search for and install Termux from within the F-Droid app (link here: https://f-droid.org/en/packages/com.termux/). The ~100 MB download of Termux in the F-Droid store is suuuuuper slow. Expect to wait 15~20 minutes. Go fry some eggs and bacon while you wait, or some Impossible burgers and Beyond Meat burgers (my preference), and eat some Stryve biltong (~$29 for 1 10 oz pack from Amazon, or ~$11 from your local Walmart), and drink a relaxing cup of coffee-free Inka fake coffee from Poland (good stuff!) or Postum (this stuff is awesome!), and enjoy the wait. If making home-made Ramen, don't forget to add some MSG to reduce the sodium while giving it some amazing savory umami flavor! To be continued... |
@ElectricRCAircraftGuy I have installed it via |
@defencedog , that kind of information is important to share with me up front next time please, especially when you're asking for my help to solve the problem. I spent a bunch of time figuring that out that I could have put towards solving the problem instead. I need to be able to duplicate what you have done so I can see the problem and error you are seeing so I can have a chance at fixing it. Think of posting an issue here as being similar to posting a question on Stack Overflow: I need to have a fully-reprodicible set of instructions I can follow to get your same error. |
That's my mistake too. I should have started out with my very first response to this issue as: I don't know what Termux is. Please provide me with an exact set of detailed instructions I can follow from scratch to get Termux up and running on my own system so I can see the exact same error you are seeing. That's where I'm at now. I spent 2 hrs last night setting up Termux for my first time only to get stuck because I followed the link to the Google Play store that you sent instead of to the F-Droid download location which you didn't send. I'm still trying to get to where I see the exact same error you see. |
I have already
poppler
& in my bin dirpdftoppm
existsI have installed program successfully but this error is at Runtime
I have a working
ocrmypdf
which also depends on tesseracthttps://www.reddit.com/r/termux/comments/t3cvgz/help_install_ocrmypdf_through_pip/hysq36s/?context=3
The text was updated successfully, but these errors were encountered: