curl-config uses krb5-config, but libcurl4-openssl-dev only Suggests libkrb5-dev

Bug #1794476 reported by Mekk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Attempt to run curl-config on the system, on which libkrb5-dev is not installed, results in error

   /usr/bin/curl-config: krb5-config: not found

At the same time, libcurl4-openssl-dev only Suggests libkrb5-dev.

Either curl-config should gracefully handle lack of krb5-config, or the dependency should be stronger.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libcurl4-openssl-dev 7.58.0-2ubuntu3.3
ProcVersionSignature: Ubuntu 4.15.0-33.36-lowlatency 4.15.18
Uname: Linux 4.15.0-33-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Sep 26 11:25:10 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-02-18 (2046 days ago)
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
SourcePackage: curl
UpgradeStatus: Upgraded to bionic on 2018-04-11 (168 days ago)

Revision history for this message
Mekk (marcin-kasperski) wrote :
Revision history for this message
Karl Stenerud (kstenerud) wrote :

Are you running curl-config with particular arguments? When I install libcurl4-openssl-dev on a fresh 18.04 system, running curl-config with no arguments gives no errors.

Changed in curl (Ubuntu):
status: New → Incomplete
Revision history for this message
Mekk (marcin-kasperski) wrote :

IIRC I used
   curl-config --libs --static-libs

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for curl (Ubuntu) because there has been no activity for 60 days.]

Changed in curl (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Mekk (marcin-kasperski) wrote :

Considering I just supported another colleague who faced this bug, let me mention that the problem is still present (in 20.04).

Simplest example:

$ sudo apt install libcurl4-gnutls-dev # Or some other variant

$ curl-config --static-libs
/usr/bin/curl-config: 1: krb5-config: not found

It is easily fixed by

$ sudo apt install libkrb5-dev

but once more: considering curl-config uses krb5-config, libcurl*-dev should depend on libkrb5-dev.

Changed in curl (Ubuntu):
status: Expired → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.