php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81045 Install Curl with PHP 7.4 on AIX 7.1
Submitted: 2021-05-17 09:56 UTC Modified: 2021-05-30 06:34 UTC
From: m dot tarek dot i dot m at gmail dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 7.4Git-2021-05-17 (Git) OS: AIX 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
29 - 10 = ?
Subscribe to this entry?

 
 [2021-05-17 09:56 UTC] m dot tarek dot i dot m at gmail dot com
Description:
------------
PHP 7.4 is installed without curl so we got php-curl source code and install it

Test script:
---------------
======
Steps:
======
cd /app/PHP7-Apacahe/ext/curl
/opt/freeware/bin/phpize --clean
/opt/freeware/bin/phpize
./configure

=====
error
=====
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /opt/freeware/bin//sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking build system type... powerpc-ibm-aix7.1.5.0
checking host system type... powerpc-ibm-aix7.1.5.0
checking target system type... powerpc-ibm-aix7.1.5.0
checking for PHP prefix... /opt/freeware
checking for PHP includes... -I/opt/freeware/include/php -I/opt/freeware/include/php/main -I/opt/freeware/include/php/TSRM -I/opt/freeware/include/php/Zend -I/opt/freeware/include/php/ext -I/opt/freeware/include/php/ext/date/lib
checking for PHP extension directory... /opt/freeware/lib/php/modules
checking for PHP installed headers prefix... /opt/freeware/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for cURL support... yes, shared
checking for libcurl >= 7.15.5... yes
checking for SSL support in libcurl... yes
checking for libcurl linked against old openssl... checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.



Expected result:
----------------
Curl must be installed but it does not happen

Actual result:
--------------
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /opt/freeware/bin//sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking build system type... powerpc-ibm-aix7.1.5.0
checking host system type... powerpc-ibm-aix7.1.5.0
checking target system type... powerpc-ibm-aix7.1.5.0
checking for PHP prefix... /opt/freeware
checking for PHP includes... -I/opt/freeware/include/php -I/opt/freeware/include/php/main -I/opt/freeware/include/php/TSRM -I/opt/freeware/include/php/Zend -I/opt/freeware/include/php/ext -I/opt/freeware/include/php/ext/date/lib
checking for PHP extension directory... /opt/freeware/lib/php/modules
checking for PHP installed headers prefix... /opt/freeware/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for cURL support... yes, shared
checking for libcurl >= 7.15.5... yes
checking for SSL support in libcurl... yes
checking for libcurl linked against old openssl... checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.


Patches

Curl (last revision 2021-05-17 09:57 UTC by m dot tarek dot i dot m at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-17 09:57 UTC] m dot tarek dot i dot m at gmail dot com
The following patch has been added/updated:

Patch Name: Curl
Revision:   1621245477
URL:        https://bugs.php.net/patch-display.php?bug=81045&patch=Curl&revision=1621245477
 [2021-05-17 13:58 UTC] nikic@php.net
-Status: Open +Status: Feedback
 [2021-05-17 13:58 UTC] nikic@php.net
Can you please share the contents of the config.log file (on gist.github.com)?

I don't see anything obviously wrong in the curl config.m4.
 [2021-05-18 07:07 UTC] m dot tarek dot i dot m at gmail dot com
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = nmeuatap0
uname -m = 00FBE3BD4C00
uname -r = 1
uname -s = AIX
uname -v = 7

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = 7.1.0.0
/bin/universe          = unknown

PATH: /usr/bin
PATH: /etc
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /sbin
PATH: /usr/java8_64/jre/bin
PATH: /usr/java8_64/bin
PATH: /home/db2inst1/sqllib/bin
PATH: /home/db2inst1/sqllib/adm
PATH: /home/db2inst1/sqllib/misc
PATH: /home/db2inst1/sqllib/db2tss/bin
PATH: /opt/freeware/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2352: checking for grep that handles long lines and -e
configure:2410: result: /usr/bin/grep
configure:2415: checking for egrep
configure:2477: result: /usr/bin/grep -E
configure:2482: checking for a sed that does not truncate output
configure:2546: result: /opt/freeware/bin//sed
configure:2685: checking for pkg-config
configure:2703: found /usr/bin/pkg-config
configure:2715: result: /usr/bin/pkg-config
configure:2740: checking pkg-config is at least version 0.9.0
configure:2743: result: yes
configure:2805: checking for cc
configure:2835: result: no
configure:2805: checking for gcc
configure:2821: found /opt/freeware/bin//gcc
configure:2832: result: gcc
configure:2863: checking for C compiler version
configure:2872: gcc --version >&5
gcc (GCC) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2883: $? = 0
configure:2872: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/8/lto-wrapper
Target: powerpc-ibm-aix7.1.0.0
Configured with: ../gcc-8.3.0/configure --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --with-local-prefix=/opt/freeware --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran,go --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --disable-libstdcxx-pch --enable-__cxa_atexit --disable-werror --enable-libstdcxx-filesystem-ts --with-gcc-major-version-only --program-suffix=-8 --disable-rpath --host=powerpc-ibm-aix7.1.0.0
Thread model: aix
gcc version 8.3.0 (GCC) 
configure:2883: $? = 0
configure:2872: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2883: $? = 1
configure:2872: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2883: $? = 1
configure:2903: checking whether the C compiler works
configure:2925: gcc    conftest.c  >&5
configure:2929: $? = 0
configure:2977: result: yes
configure:2980: checking for C compiler default output file name
configure:2982: result: a.out
configure:2988: checking for suffix of executables
configure:2995: gcc -o conftest    conftest.c  >&5
configure:2999: $? = 0
configure:3021: result: 
configure:3043: checking whether we are cross compiling
configure:3051: gcc -o conftest    conftest.c  >&5
configure:3055: $? = 0
configure:3062: ./conftest
configure:3066: $? = 0
configure:3081: result: no
configure:3086: checking for suffix of object files
configure:3108: gcc -c   conftest.c >&5
configure:3112: $? = 0
configure:3133: result: o
configure:3137: checking whether we are using the GNU C compiler
configure:3156: gcc -c   conftest.c >&5
configure:3156: $? = 0
configure:3165: result: yes
configure:3174: checking whether gcc accepts -g
configure:3194: gcc -c -g  conftest.c >&5
configure:3194: $? = 0
configure:3235: result: yes
configure:3252: checking for gcc option to accept ISO C89
configure:3315: gcc  -c -g -O2  conftest.c >&5
configure:3315: $? = 0
configure:3328: result: none needed
configure:3354: checking how to run the C preprocessor
configure:3385: gcc -E  conftest.c
configure:3385: $? = 0
configure:3399: gcc -E  conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3399: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3424: result: gcc -E
configure:3444: gcc -E  conftest.c
configure:3444: $? = 0
configure:3458: gcc -E  conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3458: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3489: checking for icc
configure:3498: result: no
configure:3512: checking for suncc
configure:3521: result: no
configure:3539: checking for system library directory
configure:3554: result: lib
configure:3561: checking if compiler supports -R
configure:3580: gcc -o conftest -g -O2   conftest.c -R /usr/lib  >&5
gcc: error: unrecognized command line option '-R'
configure:3580: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3590: result: no
configure:3595: checking if compiler supports -Wl,-rpath,
configure:3614: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  >&5
ld: 0706-012 The -p flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
ld: 0706-012 The -t flag is not recognized.
ld: 0706-012 The -h flag is not recognized.
collect2: error: ld returned 255 exit status
configure:3614: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3624: result: no
configure:3640: checking build system type
configure:3654: result: powerpc-ibm-aix7.1.5.0
configure:3674: checking host system type
configure:3687: result: powerpc-ibm-aix7.1.5.0
configure:3707: checking target system type
configure:3720: result: powerpc-ibm-aix7.1.5.0
configure:3823: checking for PHP prefix
configure:3825: result: /opt/freeware
configure:3827: checking for PHP includes
configure:3829: result: -I/opt/freeware/include/php -I/opt/freeware/include/php/main -I/opt/freeware/include/php/TSRM -I/opt/freeware/include/php/Zend -I/opt/freeware/include/php/ext -I/opt/freeware/include/php/ext/date/lib
configure:3831: checking for PHP extension directory
configure:3833: result: /opt/freeware/lib/php/modules
configure:3835: checking for PHP installed headers prefix
configure:3837: result: /opt/freeware/include/php
configure:3840: checking if debug is enabled
configure:3866: result: no
configure:3869: checking if zts is enabled
configure:3895: result: no
configure:3963: checking for gawk
configure:3994: result: no
configure:3963: checking for nawk
configure:3980: found /usr/bin/nawk
configure:3991: result: nawk
configure:4014: checking if nawk is broken
configure:4021: result: no
configure:4034: checking for cURL support
configure:4074: result: yes, shared
configure:4083: checking for libcurl >= 7.15.5
configure:4090: $PKG_CONFIG --exists --print-errors "libcurl >= 7.15.5"
configure:4093: $? = 0
configure:4107: $PKG_CONFIG --exists --print-errors "libcurl >= 7.15.5"
configure:4110: $? = 0
configure:4168: result: yes
configure:4177: $PKG_CONFIG --exists --print-errors "libcurl"
configure:4180: $? = 0
configure:4336: checking for SSL support in libcurl
configure:4341: result: yes
configure:4355: checking for libcurl linked against old openssl
configure:4357: checking for ANSI C header files
configure:4377: gcc -c -g -O2  conftest.c >&5
configure:4377: $? = 0
configure:4450: gcc -o conftest -g -O2   -L/opt/freeware/lib64 -lcurl conftest.c  >&5
configure:4450: $? = 0
configure:4450: ./conftest
configure:4450: $? = 0
configure:4461: result: yes
configure:4474: checking for sys/types.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for sys/stat.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for stdlib.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for string.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for memory.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for strings.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for inttypes.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for stdint.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4474: checking for unistd.h
configure:4474: gcc -c -g -O2  conftest.c >&5
configure:4474: $? = 0
configure:4474: result: yes
configure:4522: gcc -o conftest -g -O2   -L/opt/freeware/lib64 -lcurl conftest.c  >&5
ld: 0711-317 ERROR: Undefined symbol: .curl_version_info
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
configure:4522: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| 
| #include <strings.h>
| #include <curl/curl.h>
| 
| int main(int argc, char *argv[])
| {
|   curl_version_info_data *data = curl_version_info(CURLVERSION_NOW);
| 
|   if (data && data->ssl_version && *data->ssl_version) {
|     const char *ptr = data->ssl_version;
| 
|     while(*ptr == ' ') ++ptr;
|     if (strncasecmp(ptr, "OpenSSL/1.1", sizeof("OpenSSL/1.1")-1) == 0) {
|       /* New OpenSSL version */
|       return 3;
|     }
|     if (strncasecmp(ptr, "OpenSSL", sizeof("OpenSSL")-1) == 0) {
|       /* Old OpenSSL version */
|       return 0;
|     }
|     /* Different SSL library */
|     return 2;
|   }
|   /* No SSL support */
|   return 1;
| }
| 
configure:4775: result: no
configure:4897: checking for curl_easy_perform in -lcurl
configure:4922: gcc -o conftest -g -O2  -L/opt/freeware/lib64 -L/opt/freeware/lib64  -lcurl conftest.c -lcurl  -L/opt/freeware/lib -L/usr/lib/ -L/usr/lib/ -L/usr/local/lib/  >&5
ld: 0711-317 ERROR: Undefined symbol: .curl_easy_perform
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
configure:4922: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char curl_easy_perform ();
| int
| main ()
| {
| return curl_easy_perform ();
|   ;
|   return 0;
| }
configure:4931: result: no
configure:4949: error: There is something wrong. Please check config.log for more information.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-ibm-aix7.1.5.0
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CURL_CFLAGS_set=''
ac_cv_env_CURL_CFLAGS_value=''
ac_cv_env_CURL_FEATURES_set=''
ac_cv_env_CURL_FEATURES_value=''
ac_cv_env_CURL_LIBS_set=''
ac_cv_env_CURL_LIBS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_OPENSSL_CFLAGS_set=''
ac_cv_env_OPENSSL_CFLAGS_value=''
ac_cv_env_OPENSSL_LIBS_set=''
ac_cv_env_OPENSSL_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=powerpc-ibm-aix7.1.5.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/opt/freeware/bin//sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g=yes
ac_cv_target=powerpc-ibm-aix7.1.5.0
php_cv_cc_dashr=no
php_cv_cc_rpath=no
pkg_cv_CURL_CFLAGS=-I/opt/freeware/include
pkg_cv_CURL_FEATURES='SSL IPv6 UnixSockets libz AsynchDNS NTLM NTLM_WB TLS-SRP HTTPS-proxy'
pkg_cv_CURL_LIBS='-L/opt/freeware/lib64 -lcurl'

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AWK='nawk'
CC='gcc'
CFLAGS='-g -O2'
CONFIGURE_COMMAND=' '\''./configure'\'' '
CONFIGURE_OPTIONS=''
CPP='gcc -E'
CPPFLAGS=''
CURL_CFLAGS='-I/opt/freeware/include'
CURL_FEATURES='SSL IPv6 UnixSockets libz AsynchDNS NTLM NTLM_WB TLS-SRP HTTPS-proxy'
CURL_LIBS='-L/opt/freeware/lib64 -lcurl'
DEFS=''
DSYMUTIL=''
ECHO='/opt/freeware/bin//echo'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
NMEDIT=''
OBJEXT='o'
OPENSSL_CFLAGS=''
OPENSSL_LIBS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SED='/opt/freeware/bin//sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build='powerpc-ibm-aix7.1.5.0'
build_alias=''
build_cpu='powerpc'
build_os='aix7.1.5.0'
build_vendor='ibm'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc-ibm-aix7.1.5.0'
host_alias='powerpc-ibm-aix7.1.5.0'
host_cpu='powerpc'
host_os='aix7.1.5.0'
host_vendor='ibm'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/freeware'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='powerpc-ibm-aix7.1.5.0'
target_alias=''
target_cpu='powerpc'
target_os='aix7.1.5.0'
target_vendor='ibm'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1

configure: exit 1
 [2021-05-18 07:40 UTC] nikic@php.net
configure:4922: gcc -o conftest -g -O2  -L/opt/freeware/lib64 -L/opt/freeware/lib64  -lcurl conftest.c -lcurl  -L/opt/freeware/lib -L/usr/lib/ -L/usr/lib/ -L/usr/local/lib/  >&5
ld: 0711-317 ERROR: Undefined symbol: .curl_easy_perform

Executed script looks reasonable, assuming libcurl is indeed available on one of those paths. Don't know what is going wrong here, and the only other thread I found on this topic (https://curl.se/mail/lib-2013-02/0302.html) doesn't have a resolution either.
 [2021-05-18 08:58 UTC] m dot tarek dot i dot m at gmail dot com
I was stucked on this issue and no resources show how to solve it, please suppport
 [2021-05-18 08:59 UTC] m dot tarek dot i dot m at gmail dot com
I was stucked on this issue and no resources show how to solve it, please suppport
 [2021-05-18 09:36 UTC] cmb@php.net
It seems to me that if the curl headers are in a non standard
location, the script *might* be looking for the wrong name.

Maybe related: <https://github.com/curl/curl/issues/3429>.
 [2021-05-30 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2021-05-30 06:34 UTC] requinix@php.net
-Status: No Feedback +Status: Open
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 09:03:38 2021 UTC