Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: php_zk_config_ce #48

Open
murrayCai opened this issue May 25, 2021 · 1 comment
Open

undefined symbol: php_zk_config_ce #48

murrayCai opened this issue May 25, 2021 · 1 comment

Comments

@murrayCai
Copy link

[root@192 zookeeper-0.7.2]# php-config Usage: /usr/local/bin/php-config [OPTION] Options: --prefix [/root/php/bin/php74] --includes [-I/root/php/bin/php74/include/php -I/root/php/bin/php74/include/php/main -I/root/php/bin/php74/include/php/TSRM -I/root/php/bin/php74/include/php/Zend -I/root/php/bin/php74/include/php/ext -I/root/php/bin/php74/include/php/ext/date/lib] --ldflags [] --libs [-lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lxml2 -lsqlite3 -lxml2 -lsqlite3 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lz -lcrypt ] --extension-dir [/root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902] --include-dir [/root/php/bin/php74/include/php] --man-dir [/root/php/bin/php74/php/man] --php-binary [/root/php/bin/php74/bin/php] --php-sapis [ cli fpm phpdbg cgi] --ini-path [/root/php/bin/php74/lib] --ini-dir [] --configure-options [--prefix=/root/php/bin/php74 --enable-debug --enable-fpm --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/local/lib/pkgconfig] --version [7.4.18] --vernum [70418]

[root@192 zookeeper-0.7.2]# nm -D /root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so | grep php_zk_config_ce U php_zk_config_ce

@murrayCai
Copy link
Author

[root@192 zookeeper-0.7.2]# php -i | grep zookeeper PHP Warning: PHP Startup: Unable to load dynamic library 'zookeeper.so' (tried: /root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so (/root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so: undefined symbol: php_zk_config_ce), /root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so.so (/root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'zookeeper.so' (tried: /root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so (/root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so: undefined symbol: php_zk_config_ce), /root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so.so (/root/php/bin/php74/lib/php/extensions/debug-non-zts-20190902/zookeeper.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PWD => /root/php/packages/zookeeper-0.7.2 $_SERVER['PWD'] => /root/php/packages/zookeeper-0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant