Build phpredis 5.3.0, ./configure --enable-redis --disable-redis-session
"make" got WARNING:
/root/sources/redis-5.3.0/redis.c: In function ‘redis_random_hex_bytes’:
/root/sources/redis-5.3.0/redis.c:787:9: warning: implicit declaration of function ‘php_hash_bin2hex’; did you mean ‘zend_hash_find_ex’? [-Wimplicit-function-declaration]
php_hash_bin2hex(dst, (unsigned char *)ZSTR_VAL(s), bytes);
^~~~~~~~~~~~~~~~
zend_hash_find_ex
"make test" got "undefined symbol":
/myserver/php-7.3.19/bin/php: symbol lookup error: /root/sources/redis-5.3.0/modules/redis.so: undefined symbol: php_hash_bin2hex
/myserver/php-7.3.19/bin/phpdbg: symbol lookup error: /root/sources/redis-5.3.0/modules/redis.so: undefined symbol: php_hash_bin2hex
/myserver/php-7.3.19/bin/php: symbol lookup error: /root/sources/redis-5.3.0/modules/redis.so: undefined symbol: php_hash_bin2hex
I'm seeing this behaviour on
- OS: CentOS 8
- PHP: 7.3.19
- phpredis: 5.3.0
- gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)
Build phpredis 5.3.0, ./configure --enable-redis --disable-redis-session
"make" got WARNING:
"make test" got "undefined symbol":
I'm seeing this behaviour on