{"action":"created","issue":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/957","repository_url":"https://api.github.com/repos/tesseract-ocr/tesseract","labels_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/957/comments","events_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/957/events","html_url":"https://github.com/tesseract-ocr/tesseract/issues/957","id":231992738,"number":957,"title":"cannot ./configure if leptonica builded from source","user":{"login":"wosiu","id":4964388,"avatar_url":"https://avatars1.githubusercontent.com/u/4964388?v=3","gravatar_id":"","url":"https://api.github.com/users/wosiu","html_url":"https://github.com/wosiu","followers_url":"https://api.github.com/users/wosiu/followers","following_url":"https://api.github.com/users/wosiu/following{/other_user}","gists_url":"https://api.github.com/users/wosiu/gists{/gist_id}","starred_url":"https://api.github.com/users/wosiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosiu/subscriptions","organizations_url":"https://api.github.com/users/wosiu/orgs","repos_url":"https://api.github.com/users/wosiu/repos","events_url":"https://api.github.com/users/wosiu/events{/privacy}","received_events_url":"https://api.github.com/users/wosiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-29T11:05:43Z","updated_at":"2017-05-29T14:09:00Z","closed_at":null,"body":"If you build and install leptonica from a source, then libleptonica.so is created, but not liblept.so\r\nHowever tesseract ./configure scripts requires liblept.so:\r\n```\r\n(...)\r\nchecking for leptonica... yes\r\nchecking for pixCreate in **-llept**... no\r\nconfigure: error: leptonica library missing\r\n\r\n```\r\nAs a workaround I just link liblept.so to created libleptonica.so, but I belive that tesseract scripts should recognize if we have liblept or libleptonica installed and use proper -l... flag for pixCreate.\r\nNote that liblept.so is installed when you install leptonica from debian/ubuntu repository by e.g. apt-get install. Btw maybe it should be also fixed by leptonica guys to standarize library name no matter you build it by your own or install from repo (?)."},"comment":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/comments/304669652","html_url":"https://github.com/tesseract-ocr/tesseract/issues/957#issuecomment-304669652","issue_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/957","id":304669652,"user":{"login":"wosiu","id":4964388,"avatar_url":"https://avatars1.githubusercontent.com/u/4964388?v=3","gravatar_id":"","url":"https://api.github.com/users/wosiu","html_url":"https://github.com/wosiu","followers_url":"https://api.github.com/users/wosiu/followers","following_url":"https://api.github.com/users/wosiu/following{/other_user}","gists_url":"https://api.github.com/users/wosiu/gists{/gist_id}","starred_url":"https://api.github.com/users/wosiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosiu/subscriptions","organizations_url":"https://api.github.com/users/wosiu/orgs","repos_url":"https://api.github.com/users/wosiu/repos","events_url":"https://api.github.com/users/wosiu/events{/privacy}","received_events_url":"https://api.github.com/users/wosiu/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T14:09:00Z","updated_at":"2017-05-29T14:09:00Z","body":"1) leptonica 1.74.2 builded and installed from source\r\n2) Yes, I run autogen before configure.\r\nAs I mentioned in 1st post: leptonica builded from source does not create liblept.so, instead it creates libleptonica.so.\r\n"}}
{"actor":{"display_login":"wosiu"}}