Bug #78157 [NEW]: configure script does not find libargon2 library
| From: | e6990620 at gmail dot com | Date: | Thu, 13 Jun 2019 13:19:23 +0000 |
| Subject: | Bug #78157 [NEW]: configure script does not find libargon2 library | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221285@lists.php.net to get a copy of this message | ||
From: e6990620 at gmail dot com
Operating system: Alpine Linux
PHP version: master-Git-2019-06-13 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:configure script does not find libargon2 library
Description:
------------
The following commit changed the --with-password-argon2 configuration
flag to --with-argon2, and also how to detect the library in the system
(i.e. by package name).
https://github.com/php/php-src/commit/bdcef51bcb367323f2eea4808f34a1b3e58bd3d8
However, on Alpine Linux the libargon2-dev package is named argon2-dev,
and the new configure script does not detect it even though
usr/lib/libargon2.so and
usr/lib/libargon2.a are present.
Test script:
---------------
./configure --with-argon2
Expected result:
----------------
checking whether to build with Argon2 support... yes
checking for libargon2... yes
Actual result:
--------------
checking whether to build with Argon2 support... yes
checking for libargon2... no
mconfigure: error: Package requirements (libargon2) were not met:
Package 'libargon2', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ARGON2_CFLAGS
and ARGON2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
--
Edit bug report at https://bugs.php.net/bug.php?id=78157&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78157&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78157&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78157&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78157&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78157&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78157&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78157&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78157&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78157&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78157&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78157&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78157&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78157&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78157&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78157&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78157&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78157&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78157&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78157&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78157&r=mysqlcfg