宇宙主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

欧基零壹微头条IP归属甄别会员请立即修改密码
查看: 980|回复: 3

[Windows VPS] arm Debian10 安装swoole_loader74.so错误,大佬帮忙啊

[复制链接]
发表于 2021-6-13 13:32:10 | 显示全部楼层 |阅读模式
本帖最后由 卡繆 于 2021-6-13 14:01 编辑

[13-Jun-2021 05:29:56] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader74.so' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

https://business.swoole.com/static/loader2.2.0/swoole_loader74.so
搞不定啊
 楼主| 发表于 2021-6-13 13:45:12 | 显示全部楼层
本帖最后由 卡繆 于 2021-6-13 14:58 编辑

编译好的好像不能用,没编译的不知道怎么编译啊,版本2.2.0
error: too many arguments to function ‘zend_vm_stack_push_call_frame’
     call = zend_vm_stack_push_call_frame(ZEND_CALL_TOP_FUNCTION | ZEND_CALL_ALLOCATED, fci_cache->function_handler, argc, fci_cache->called_scope, object);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /www/server/php/74/include/php/Zend/zend_API.h:29,
                 from /www/server/php/74/include/php/main/php.h:37,
                 from /www/server/panel/install/swoole-2.2.0/php_swoole.h:22,
                 from /www/server/panel/install/swoole-2.2.0/swoole_coroutine.c:17:
/www/server/php/74/include/php/Zend/zend_execute.h:219:46: note: declared here
static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, void *object_or_called_scope)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:206: swoole_coroutine.lo] Error 1
error
 楼主| 发表于 2021-6-13 14:01:12 | 显示全部楼层
wget http://pecl.php.net/get/swoole-2.2.0.tgz

解压
tar -zxvf swoole-2.2.0.tgz

cd swoole-2.2.0

进行如下操作
phpize

./configure

./configure --with-php-config=/www/server/php/74/bin/php-config

make && make install
编译也出错,晕了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宇宙主机交流论坛

GMT+8, 2024-10-30 17:30 , Processed in 0.058774 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表