Bug #67700 [NEW]: Compile fails when -lcrypt is missing
| From: | thekid@php.net | Date: | Mon, 28 Jul 2014 16:24:41 +0000 |
| Subject: | Bug #67700 [NEW]: Compile fails when -lcrypt is missing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186844@lists.php.net to get a copy of this message | ||
From: thekid@php.net
Operating system: Linux
PHP version: 5.5.15
Package: Compile Failure
Bug Type: Bug
Bug description:Compile fails when -lcrypt is missing
Description:
------------
The linking fails with "undefined reference to zm_startup_password".
Test script:
---------------
Configure PHP, run make.
Expected result:
----------------
Either configure bail and PHP states it depends on
-lcrypt or the
password functions are non-core.
See also https://github.com/php/php-src/pull/703
Actual result:
--------------
The whole of password.c is inside a #if HAVE_CRYPT conditional, but
basic_functions.c unconditionally initializes the password module and
tries to declares its functions, leading to this error.
--
Edit bug report at https://bugs.php.net/bug.php?id=67700&edit=1
--