libglib2.0-dev needs a dependency on libffi-dev because its pkg-config file specifies -lffi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glib2.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The pkg-config file at /usr/lib/
But the static library for libffi is in package libffi-dev, which libglib2.0-dev doesn't depend on. So if you actually try to use those linker flags and libffi-dev doesn't happen to be installed, your build will crash.
I think that libglib2.0-dev needs to be made to depend on libffi-dev (so that the library is always available). Alternately, if -lffi isn't actually needed to link against the static /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libglib2.0-dev 2.48.2-0ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-124-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.17
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue May 22 13:09:39 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-04-18 (1859 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: glib2.0
UpgradeStatus: Upgraded to xenial on 2018-02-26 (85 days ago)