Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700540 - app-text/ghostscript-gpl should set sub-SLOT operator on media-libs/jbig2dec - /usr/lib64/libgs.so: undefined reference to `jbig2_ctx_new'
Summary: app-text/ghostscript-gpl should set sub-SLOT operator on media-libs/jbig2dec ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 07:32 UTC by piotr5
Modified: 2019-11-19 07:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piotr5 2019-11-19 07:32:02 UTC
checking for gsapi_new_instance in -lgs... no
configure: error: You need libgs in order to compile libspectre

first off, strangely app-text/ghostscript-gpl wasn't updated beforehand, problem with dependency? however, looking at config.log shows the real culprit: configure compiled the test-program without media-libs/jbig2dec which is needed in my app-text/ghostscript-gpl-9.26 libs. i.e.

/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libgs.so: undefined reference to `jbig2_ctx_new'

can be fixed by adding -ljbig2dec to the $LIBS variable. alternatively upgrading to app-text/ghostscript-gpl-9.50 helped too. maybe completely remove the older broken version?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-19 07:49:08 UTC
The problem you are looking at was already fixed in this commit where the sub-SLOT operator on the media-libs/jbig2dec dependency was added:

commit afdbdbedba9222816f18bbf03d102bdb73ce3a15
Author: Thomas Deutschmann <whissi@gentoo.org>
Date:   Fri Oct 25 00:18:04 2019 +0200

    app-text/ghostscript-gpl: bump to v9.50

    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>


It should probably help to get your system fully up to date before you try to install new packages.