php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72996 phpdbg_prompt.c undefined reference to `DL_LOAD
Submitted: 2016-09-01 17:34 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: subins2000 at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 7.0.10 OS: Ubuntu 16.04 Xenial Xerus
Private report: No CVE-ID: None
 [2016-09-01 17:34 UTC] subins2000 at gmail dot com
Description:
------------
I tried to cross compile PHP with arm-linux-gnueabihf :

./configure --host=arm-linux-gnueabihf

and did make. But it produced an error :

sapi/phpdbg/phpdbg_prompt.o: In function `phpdbg_load_module_or_extension': sapi/phpdbg/phpdbg_prompt.c:1046: undefined reference to `DL_LOAD

The bug got fixed with this patch : https://patchwork.ozlabs.org/patch/657181/

It would be great if this patch is applied to PHP source code.

Expected result:
----------------
PHP should compile

Actual result:
--------------
sapi/phpdbg/phpdbg_prompt.o: In function `phpdbg_load_module_or_extension': sapi/phpdbg/phpdbg_prompt.c:1046: undefined reference to `DL_LOAD

Patches

add-patch-to-fix-static-library-build (last revision 2016-09-01 17:35 UTC by subins2000 at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-03 21:33 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1ae2d074f8fdb7558c404b2deb20b4a31e592058
Log: Fix bug #72996
 [2016-09-03 21:33 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2016-10-17 10:08 UTC] bwoebi@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1ae2d074f8fdb7558c404b2deb20b4a31e592058
Log: Fix bug #72996
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC