Bug 707131 - Incorrect statement about external libtesseract/libleptonica linking
Summary: Incorrect statement about external libtesseract/libleptonica linking
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 10.02.0
Hardware: All All
: P2 normal
Assignee: Default assignee
URL: https://ghostscript.readthedocs.io/en...
Keywords:
Depends on: 706490
Blocks:
  Show dependency tree
 
Reported: 2023-09-14 07:07 UTC by Michael Osipov
Modified: 2023-09-14 07:59 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov 2023-09-14 07:07:25 UTC
Moving to 10.02.0 the docs (https://ghostscript.readthedocs.io/en/gs10.02.0/News.html) still says:
Mainly due to time constraints, we only support including Tesseract from source included in our release packages, and not linking to Tesseract/Leptonica shared libraries. Whether we add this capability will be largely dependent on community demand for the feature. 

But in Bug 706490 this feature has been introduced I have successfully linked it on FreeBSD against both dependencies from the ports tree.

Please update the documentation.

From the ports check:
===========================================================================
=>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libarchive.so.13]
 0x0000000000000001 NEEDED               Shared library: [libc++.so.1]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: [libcups.so.2]
 0x0000000000000001 NEEDED               Shared library: [libcurl.so.4]
 0x0000000000000001 NEEDED               Shared library: [libcxxrt.so.1]
 0x0000000000000001 NEEDED               Shared library: [libdl.so.1]
 0x0000000000000001 NEEDED               Shared library: [libfontconfig.so.1]
 0x0000000000000001 NEEDED               Shared library: [libfreetype.so.6]
 0x0000000000000001 NEEDED               Shared library: [libgcc_s.so.1]
 0x0000000000000001 NEEDED               Shared library: [libgs.so.10]
 0x0000000000000001 NEEDED               Shared library: [libidn.so.12]
 0x0000000000000001 NEEDED               Shared library: [libijs.so.1]
 0x0000000000000001 NEEDED               Shared library: [libjbig2dec.so.0]
 0x0000000000000001 NEEDED               Shared library: [libjpeg.so.8]
 0x0000000000000001 NEEDED               Shared library: [liblcms2.so.2]
 0x0000000000000001 NEEDED               Shared library: [libleptonica.so.5]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libopenjp2.so.7]
 0x0000000000000001 NEEDED               Shared library: [libpaper.so.1]
 0x0000000000000001 NEEDED               Shared library: [libpng16.so.16]
 0x0000000000000001 NEEDED               Shared library: [libtesseract.so.5]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libtiff.so.5]
 0x0000000000000001 NEEDED               Shared library: [libz.so.6]
Comment 1 Chris Liddell (chrisl) 2023-09-14 07:57:31 UTC
Fixed:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e8ba4feee3a
Comment 2 Michael Osipov 2023-09-14 07:59:39 UTC
(In reply to Chris Liddell (chrisl) from comment #1)
> Fixed:
> https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e8ba4feee3a


Thanks, quick turnaround!