Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711460 - sci-libs/netcdf-4.6.1-r1 configure: error: Can't find or link to the jpeg library (required by hdf4)
Summary: sci-libs/netcdf-4.6.1-r1 configure: error: Can't find or link to the jpeg lib...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Keywords: PullRequest
Depends on:
Reported: 2020-03-03 23:28 UTC by Alessandro Barbieri
Modified: 2020-12-28 16:10 UTC (History)
1 user (show)

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

netcdf-4.6.1-r1:20200303-230911.log (netcdf-4.6.1-r1:20200303-230911.log,19.74 KB, text/plain)
2020-03-03 23:29 UTC, Alessandro Barbieri

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-03-03 23:28:20 UTC
checking for jpeg_set_quality in -ljpeg... no
configure: error: Can't find or link to the jpeg library (required by hdf4). See config.log for errors.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/netcdf-4.6.1-r1/work/netcdf-c-4.6.1/config.log
 * ERROR: sci-libs/netcdf-4.6.1-r1::gentoo failed (configure phase):
 *   econf failed
 * Call stack:
 *     , line  125:  Called src_configure
 *             environment, line 3274:  Called econf '' '--disable-examples' '--disable-dap-remote-tests' '--enable-dap' '--enable-hdf4' '--enable-netcdf-4' '--disable-static' '--enable-utilities'
 *, line  681:  Called __helpers_die 'econf failed'
 *, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * If you need support, post the output of `emerge --info '=sci-libs/netcdf-4.6.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/netcdf-4.6.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/sci-libs/netcdf-4.6.1-r1:20200303-230911.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/netcdf-4.6.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/netcdf-4.6.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/netcdf-4.6.1-r1/work/netcdf-c-4.6.1'
 * S: '/var/tmp/portage/sci-libs/netcdf-4.6.1-r1/work/netcdf-c-4.6.1'
Comment 1 Alessandro Barbieri 2020-03-03 23:29:06 UTC
Created attachment 617008 [details]

Comment 2 Larry the Git Cow gentoo-dev 2020-12-28 16:10:58 UTC
The bug has been closed via the following commit(s):

commit 7ad9683f97dcc07c529842bda6880b7f5587178a
Author:     Jakov Smolic <>
AuthorDate: 2020-12-28 16:10:47 +0000
Commit:     David Seifert <>
CommitDate: 2020-12-28 16:10:47 +0000

    sci-libs/netcdf: Bump to 4.7.4
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: David Seifert <>

 sci-libs/netcdf/Manifest            |  1 +
 sci-libs/netcdf/netcdf-4.7.4.ebuild | 65 +++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)