Bug #76517 [NEW]: --with-gettext= causes configure to misjudges there is no getcwd

From: Date: Fri, 22 Jun 2018 05:50:17 +0000
Subject: Bug #76517 [NEW]: --with-gettext= causes configure to misjudges there is no getcwd
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215847@lists.php.net to get a copy of this message
From: manabu dot matsui at gmail dot com Operating system: MacOS 10.13.5 PHP version: 7.2.7 Package: *Compile Issues Bug Type: Bug Bug description:--with-gettext= causes configure to misjudges there is no getcwd Description: ------------ Configure misjudges that there is no getcwd if --with-gettext=/usr/local/opt/gettext is specified. (gettext is installed by homebrew) command to run configure: ./configure --disable-all --with-gettext=/usr/local/opt/gettext output of configure: ... checking for getcwd... no ... in config.log: configure:78929: checking for getcwd configure:78929: cc -o conftest -g -O2 -fvisibility=hidden -no-cpp-precomp conftest.c -lintl -lm >&5 ld: library not found for -lintl clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:78929: $? = 1 configure: failed program was: ... Since libintl.a is included in gettext, I think that either one is necessary. * Remove the -lintl option * Indicate the location of the intl library with the -L option -- Edit bug report at https://bugs.php.net/bug.php?id=76517&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76517&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76517&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76517&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76517&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76517&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76517&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76517&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76517&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76517&r=support Expected behavior: https://bugs.php.net/fix.php?id=76517&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76517&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76517&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76517&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76517&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76517&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76517&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76517&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76517&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76517&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76517&r=mysqlcfg

« previous php.bugs (#215847) next »