meh / ruby-tesseract-ocr

A Ruby wrapper library to the tesseract-ocr API.
629 stars 74 forks source link

malloc(): memory corruption: #42

Open mikemarsian opened 10 years ago

mikemarsian commented 10 years ago

Hi, after installing tesseract on my ubuntu 14 and adding the gem, I get the following error:

1.9.3-p547 :001 > require 'tesseract' => true 1.9.3-p547 :002 > e = Tesseract::Engine.new *** Error in /home/mike/.rvm/rubies/ruby-1.9.3-p547/bin/ruby: malloc(): memory corruption: 0x00000000069b4480 *** Aborted (core dumped)

I know the error is quite generic, but maybe someone experienced anything like it? My setup: ruby 1.9.3, Ubuntu 14.04.1 LTS, tesseract installed from tesseract-ocr-3.02.02.tar.gz, also installed libleptonica-dev, libtesseract-dev