On Thu, Oct 14, 2010 at 1:44 PM, Dick Angus <[email protected]> wrote: > I have used tesseract over several versions with Kubuntu. I just did an > upgrade to Kubuntu 10.10 and installed tesseract from the repositories. I > immediately ran into a well documented bug. The solution was to go to > tesseract 3.0. I downloaded the zip file and followed the compile/install > directions. All seemed to go well except the first execution ended with > > tesseract: error while loading shared libraries: libtesseract_api.so.3: > cannot open shared object file: No such file or directory > > I checked the directories and the tesseract executable modules are in > /usr/local/bin and the various tesseract libraries are in /usr/local/lib The > error lib is a soft link to the full library in the same directory. Both > these directories are in the PATH statement. > > I am not an expert developer, I can stumble around some, so I'm not sure how > to resolve this issue. Does anyone have a suggestion? > > PS: I joined the Google group for tesseract-ocr and entered a question about > this. It was directed to the moderators and I haven't seen anything since. > That was early yesterday.
The PATH environment variable does not provide hints as to where libraries can be found. You may want to recompile tesseract and tell it to put it's libraries in /usr/lib instead of /usr/local/lib. If your ./configure line had --prefix=/usr/local, change it to --prefix=/usr instead. Then do a make / make install like you did before. If you are still having problems, please post the commands you ran when compiling tesseract, or a link to the page that has the directions you followed. There are many ways to fix this type of problem, some people prefer one way over the other... -Mark C. _______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

