Bug #78157 [Opn->Csd]: configure script does not find libargon2 library
| From: | nikic@php.net | Date: | Thu, 13 Jun 2019 14:56:42 +0000 |
| Subject: | Bug #78157 [Opn->Csd]: configure script does not find libargon2 library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-221293@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78157&edit=1
ID: 78157
Updated by: nikic@php.net
Reported by: e6990620 at gmail dot com
Summary: configure script does not find libargon2 library
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Alpine Linux
PHP Version: 7.4Git-2019-06-13 (Git)
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
pkg-config requirement for libargon2 reverted in https://github.com/php/php-src/commit/19e2101dfad0bcfa37d508ce575572c969688729.
Previous Comments:
------------------------------------------------------------------------
[2019-06-13 13:19:23] e6990620 at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=78157&edit=1