#42299 [Bgs->Opn]: fails to configure with libedit

From: Date: Thu, 16 Aug 2007 08:53:23 +0000
Subject: #42299 [Bgs->Opn]: fails to configure with libedit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-116157@lists.php.net to get a copy of this message
ID: 42299 User updated by: volkmar dot glauche at uniklinik-freiburg dot de Reported By: volkmar dot glauche at uniklinik-freiburg dot de -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Gentoo Linux PHP Version: 5.2.4_pre200708051230-rc2 New Comment: I don't know whether this is just Gentoo specific, but there are numerous occurrences of -Wl,-rpath switches in the top level configure and acinclude.m4 scripts. On my system, these switches force ld.so to look for libedit.so in /usr/X11R6/lib, where it does not find an ELF library but a linker script. With -Wl,-rpath these scripts are not followed, and therefore linking the conftests fails. Previous Comments: ------------------------------------------------------------------------ [2007-08-16 08:30:46] jani@php.net I didn't ask you to test some gentoo crap, this is PHP, report bugs in Gentoo to their system. ------------------------------------------------------------------------ [2007-08-16 08:12:49] volkmar dot glauche at uniklinik-freiburg dot de This is the latest version I have tested: 5.2.4_pre200708051230-rc2 I don't have the time to create an ebuild for newer snapshots, but I will be happy to test once a new ebuild is in gentoo portage. ------------------------------------------------------------------------ [2007-08-15 16:54:06] jakub at gentoo dot org Latest CVS snapshot doesn't solve anything, see http://bugs.gentoo.org/show_bug.cgi?id=165633 for downstream bug. ------------------------------------------------------------------------ [2007-08-14 19:59:15] jani@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2007-08-14 17:52:35] volkmar dot glauche at uniklinik-freiburg dot de Description: ------------ There are configure checks for (at least) libedit which use -Wl,-rpath /usr/X11R6/lib linker flags. This fails on Gentoo, because /usr/X11R6/lib has only a libedit.so linker script, but no libedit.so ELF library. I can provide an config.log upon request. Reproduce code: --------------- emerge -u php Expected result: ---------------- build php Actual result: -------------- configure stops, because it can not link libedit.so in many tests. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42299&edit=1

« previous php.bugs (#116157) next »