简体   繁体   English

在资源路径中找不到本机库(linux-x86-64 / libtesseract.so)

[英]Native library (linux-x86-64/libtesseract.so) not found in resource path

I have RHEL7.3 in which i have built tesseract and i am able to execute my jar . 我有RHEL7.3,可以在其中构建tesseract,并且可以执行jar。 Now i have another system with same RHEL configuration and i want to execute the same jar But i don't want to build tesseract on this system so I pick /usr/lib64/libtesseract.so and /usr/lib64/liblept.so from previously builded tesseract system and put these so files in fresh RHEL7.3 system at /usr/lib64/ path and try to execute my jar but this time my jar did not execute succesfully .It ends with throwing ' java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path ' .What did i miss(dependencies) 现在,我有另一个具有相同RHEL配置的系统,并且我想执行相同的jar,但是我不想在此系统上构建tesseract,所以我从/usr/lib64/libtesseract.so和/usr/lib64/liblept.so中选择以前构建了tesseract系统,并将这些文件放在/ usr / lib64 /路径下的新RHEL7.3系统中,并尝试执行我的jar,但是这次我的jar没有成功执行。最后以抛出' java.lang.UnsatisfiedLinkError:Unable加载库'tesseract':在资源路径 '中找不到本机库(linux-x86-64 / libtesseract.so)。我错过了什么(依赖项)

I have - RHEL 7.3 (64 bit) - JRE 1.8.0_51 (64 bit) 我有-RHEL 7.3(64位)-JRE 1.8.0_51(64位)

请试试

yum install tesseract-ocr

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 UnsatisfiedLinkError:在资源路径 (.) 中找不到本机库 (com/sun/jna/android-x86-64/libjnidispatch.so) - UnsatisfiedLinkError: Native library (com/sun/jna/android-x86-64/libjnidispatch.so) not found in resource path (.) linux中的java tesseract错误“无法加载库'tesseract':libtesseract.so” - java tesseract error in linux “Unable to load library 'tesseract': libtesseract.so” 无法加载库“tesseract”:libtesseract.so:无法打开共享对象文件:没有这样的文件或目录 - Unable to load library 'tesseract': libtesseract.so: cannot open shared object file: No such file or directory 在资源路径中找不到本机库(com / sun / jna / android-aarch64 / libjnidispatch.so) - Native library (com/sun/jna/android-aarch64/libjnidispatch.so) not found in resource path 在资源路径中找不到本机库 - native library not found in resource path 在 java.library.path 中没有 netty_transport_native_epoll_x86_64 - Ktor no netty_transport_native_epoll_x86_64 in java.library.path UnsatisfiedLinkError:/tmp/snappy-1.1.4-libsnappyjava.so 加载共享库 ld-linux-x86-64.so.2 时出错:没有这样的文件或目录 - UnsatisfiedLinkError: /tmp/snappy-1.1.4-libsnappyjava.so Error loading shared library ld-linux-x86-64.so.2: No such file or directory 尝试在Mac OS X上加载JNA库时出现“无法加载库:在资源路径中找不到JNA本机支持” - “Unable to load library: JNA native support not found in resource path” on trying to load JNA library on Mac OS X 在资源路径中找不到 JNA 原生支持 (/com/sun/jna/linux-arm/libjnidispatch.so) - JNA native support (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path 查找函数'TessBaseAPICreate'出错:libtesseract.so:未定义符号:TessBaseAPICreate - Error looking up function 'TessBaseAPICreate': libtesseract.so: undefined symbol: TessBaseAPICreate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM