ext-async icon indicating copy to clipboard operation
ext-async copied to clipboard

undefined symbol: swAio_handler_gethostbyname

Open yellow1912 opened this issue 5 years ago • 1 comments

I asked this question here https://github.com/swoole/swoole-src/issues/2548

But perhaps it's better asked here.

Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provide a simple script for reproducing the error. I was trying to install swoole on ubuntu 18 following the readme

What did you expect to see? Working swoole

What did you see instead? PHP Startup: Unable to load dynamic library 'swoole_async.so' (tried: /usr/lib/php/20170718/swoole_async.so (/usr/lib/php/20170718/swoole_async.so: undefined symbol: swAio_handler_gethostbyname), /usr/lib/php/20170718/swoole_async.so.so (/usr/lib/php/20170718/swoole_async.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

What version of Swoole are you using (show your php --ri swoole)? Swoole => enabled Author => Swoole Team [email protected] Version => 4.4.0-alpha Built => May 2 2019 03:24:07 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.1.1 11 Sep 2018 http2 => enabled pcre => enabled mutex_timedlock => enabled pthread_barrier => enabled futex => enabled async_redis => enabled

Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608

What is your machine environment used (including version of kernel & php & gcc) ? php 7.2, ubuntu 18, gcc version 8.3.0

yellow1912 avatar May 02 '19 05:05 yellow1912