can't find libpng.so

238 views
Skip to first unread message

mahmoud magdy

unread,
Aug 4, 2015, 9:37:38 AM8/4/15
to tesseract-ocr
That  error is caused once new TessBaseAPI(); is called. Can anyone help with that

dlopen("/data/app-lib/com.datumdroid.android.ocr.simple-2/liblept.so") failed: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libpng.so" needed by "liblept.so"; caused by load_library(linker.cpp:745): library "libpng.so" not found

Jack Fan

unread,
Aug 18, 2015, 8:53:00 PM8/18/15
to tesseract-ocr
You may try to
1. Make sure libpng.so is included in your apk file
2. Add the code like https://github.com/rmtheis/tess-two/commit/ab1b1c81f4aea21c300736a7df186673a1bcd480

mahmoud magdy於 2015年8月4日星期二 UTC+8下午9時37分38秒寫道:
Reply all
Reply to author
Forward
0 new messages