 |
libstdc++.so.5
After you download the evaluation kit and run it, if you hit this
exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
asprise-eval/libAspriseOCR.so: libstdc++.so.5: cannot open shared object file: No such file or directory
It means that you do not have libstdc++.so.5 installed, which is required by Asprise OCR for Linux.
Installing libstdc++.so.5 will not downgrade your system in any way, and it is easy.
You can use either of the methods:
-
#yum install libstdc++.so.5
If you do not have yum
installed or yum encounters problems, you use:
- RPM Install:
- $ wget ftp://rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
// Note the above URL is for Fedora 4 x86 32bit only, for other Linux system, visit this page to find the correct URL.
-
$ ls
compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
-
$ su
Password:
- # rpm -ivh compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
// Replace the rpm file name with the one you downloaded
Usually, libstdc++.so.5 is under /usr/lib or /usr/local/lib directory.
- Append the directory containing libstdc++.so.5 to LD_LIBRARY_PATH
If neither works, please contact us
|
 |