怎么让php支持readline ,我尝试去弄出现php: symbol lookup error: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/readline.so: undefined symbol: append_history。不知如何解决
4 Answers
yum install libedit-devel
cd oneinstack/src
tar xzf php-5.6.22.tar.gz
cd php-5.6.22/ext/readline
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
我的系统是ubuntu15.10,安装完,加入扩展还是出现那个问题
php: symbol lookup error: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/readline.so: undefined symbol: append_history
php: symbol lookup error: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/readline.so: undefined symbol: append_history
Please login or Register to submit your answer