sapi/phpdbg/.libs/phpdbg_cmd.o: In function `phpdbg_read_input': /usr/src/php-7.2.12/sapi/phpdbg/phpdbg_cmd.c:765: undefined reference to `readline' /usr/src/php-7.2.12/sapi/phpdbg/phpdbg_cmd.c:773: undefined reference to `add_history' collect2: error: ld returned 1 exit status Makefile:374: recipe for target 'sapi/phpdbg/phpdbg' failed make: *** [sapi/phpdbg/phpdbg] Error 1 make: *** Waiting for unfinished jobs....
Open Makefile, searc
PHPDBG_EXTRA_LIBS =
add “-lreadline”:
PHPDBG_EXTRA_LIBS = -lreadline