From: pacho at gentoo dot org
Operating system: Linux
PHP version: 5.5.14
Package: Compile Failure
Bug Type: Bug
Bug description:php links to systemd libraries without using pkg-config
Description:
------------
As reported downstream to:
https://bugs.gentoo.org/show_bug.cgi?id=502516
in systemd-209 the libsystemd-* libraries were removed and replaced with
single libsystemd. We install compatibility libsystemd-*.pc pkg-config
files, so apps using pkg-config are not affected (yet :)).
Since this package tries to link libsystemd-daemon directly, it fails
terribly with >=systemd-209.
The possibilities are:
1. use pkg-config to query libsystemd-daemon -- compatible with all
versions but at some point we will be removing compat pkg-config files,
2. use pkg-config to query libsystemd, fallback to querying
libsystemd-daemon -- future- and backwards-compatible,
3. just use libsystemd, and dep on >=systemd-209
Preferably, always use pkg-config :) Attached patch could be used
--
Edit bug report at https://bugs.php.net/bug.php?id=67635&edit=1
--