Bug #67635 [Opn]: php links to systemd libraries without using pkg-config

From: Date: Sat, 19 Jul 2014 16:35:34 +0000
Subject: Bug #67635 [Opn]: php links to systemd libraries without using pkg-config
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186744@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67635&edit=1 ID: 67635 Updated by: remi@php.net Reported by: pacho at gentoo dot org Summary: php links to systemd libraries without using pkg-config Status: Open Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 5.5.14 -Assigned To: +Assigned To: remi Block user comment: N Private report: N New Comment: Patch seems ok Tested with Fedora 20 (v208) and 21 (v215). Minor cosmetic : nothing in configure output about the check, I will apply your patch and add a simple message Previous Comments: ------------------------------------------------------------------------ [2014-07-16 17:53:34] pacho at gentoo dot org 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 this bug report at https://bugs.php.net/bug.php?id=67635&edit=1

« previous php.bugs (#186744) next »