Hi all, I'm trying to use tesseract libraries on a Linux CentOS 5 PC with a 64 bit architecture. I can build tesseract with no problem, but when I add the libraries libtesseract_main and libtesseract_full to one of my projects, the compiler gives this error:
/usr/local/lib/libtesseract_main.a(baseapi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC For what I understand, I think I should add the option -fPic when building tesseract, so I manually changed the CFLAGS and CPPFLAGS variable in the configure file, but the same error appears. Does anybody have any ideas on how to solve this problem? Thanks a lot, STe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

