|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-09-20 16:29 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2018-09-20 16:29 UTC] cmb@php.net
[2018-10-07 09:36 UTC] cmb@php.net
-Status: Feedback
+Status: No Feedback
[2020-05-08 13:28 UTC] cbing at cybernetics dot com
[2020-05-08 13:42 UTC] cmb@php.net
-Status: No Feedback
+Status: Re-Opened
-Assigned To: cmb
+Assigned To:
[2020-10-20 10:52 UTC] maroszek at gmx dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 01:00:01 2025 UTC |
Description: ------------ Hallo, while trying to cross compile PHP via a bitbake recipe (openembedded.org), I discovered, that somehow the build system of PHP turns of the Dynamic Loading support if it detects that PHP is being cross compiled. See configure-Script of PHP: [...] if test "$found" = "yes"; then ac_libs=$LIBS LIBS="$LIBS -ldl" if test "$cross_compiling" = yes; then : found=no else [...] As you can see, the configure script sets "found" to no for libdl/dlopen-tests, if cross_compiling is enabled. In my opinion (and according to my tests) there is no reason to do this, as overriding this manually by setting -DHAVE_LIBDL as CFLAGS and adding -ldl to LDFLAGS leads to a PHP build that is Dynamic-Loading-enabled and works without problems on the target machine.