[MacPorts] #56059: tesseract installation seems broken

MacPorts noreply at macports.org
Wed Mar 14 18:08:53 UTC 2018


#56059: tesseract installation seems broken
--------------------+-----------------------
 Reporter:  mainka  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.4.2
 Keywords:          |       Port:  tesseract
--------------------+-----------------------
 After a `port selfupdate` and a `port upgrade outdated` command, `port
 rev-upgrade` gives the following error message:

 {{{
 Could not open /opt/local/lib/libtesseract.3.dylib: Error opening or
 reading file (referenced from /opt/local/lib/libopencv_text.3.3.1.dylib)
 }}}

 The installed files are:

 {{{
 $ port contents tesseract
 Port tesseract contains:
 <snip>
   /opt/local/lib/liblibtesseract.dylib
   /opt/local/lib/liblibtesseract.3.0.5.dylib
 }}}

 Notice the `liblib` prefix and the missing `libtesseract.3.dylib`.

 pkg-config seems ill-configured too:

 {{{
 $ pkg-config --libs tesseract
 -L/opt/local/lib -ltesseract_OUTPUT_NAME-NOTFOUND
 }}}

 So, opencv cannot be rebuilt.

--
Ticket URL: <https://trac.macports.org/ticket/56059>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list