Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

不支持M1 #77

Open
wujingke opened this issue Jun 9, 2022 · 0 comments
Open

不支持M1 #77

wujingke opened this issue Jun 9, 2022 · 0 comments

Comments

@wujingke
Copy link

wujingke commented Jun 9, 2022

/bin/sh /Volumes/Workspaces/ext-postgresql-4.8.0/libtool --mode=link g++ -DPHP_ATOM_INC -I/Volumes/Workspaces/ext-postgresql-4.8.0/include -I/Volumes/Workspaces/ext-postgresql-4.8.0/main -I/Volumes/Workspaces/ext-postgresql-4.8.0 -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/main -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/TSRM -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/Zend -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/ext -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/ext/date/lib -I/opt/homebrew/opt/libpq//include -I/Volumes/Workspaces/ext-postgresql-4.8.0 -I/Volumes/Workspaces/ext-postgresql-4.8.0/include -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/ext/swoole -I/opt/homebrew/Cellar/[email protected]/7.4.29/include/php/ext/swoole/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -Wl,-rpath,/opt/homebrew/opt/libpq//lib -L/opt/homebrew/opt/libpq//lib -lpthread -o swoole_postgresql.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Volumes/Workspaces/ext-postgresql-4.8.0/modules swoole_postgresql.lo -lpq -lpthread
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/swoole_postgresql.so -bundle .libs/swoole_postgresql.o -L/opt/homebrew/opt/libpq//lib -lpq -lpthread -pthread -Wl,-rpath -Wl,/opt/homebrew/opt/libpq//lib
ld: illegal thread local variable reference to regular symbol _SwooleTG for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [swoole_postgresql.la] Error 1

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

No branches or pull requests

1 participant