-
Notifications
You must be signed in to change notification settings - Fork 58
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
mac m1下使用有问题 #3
Comments
Can the C example run on your environment? |
我使用python example也是一样的。 sudo /usr/bin/python3 setup.py install |
使用c example是正常的 king@kingdeMacBook-Pro ~/git_src/udbserver/bindings/c master gcc example.c -lunicorn -ludbserver -o example |
Could you try this? |
编译完成后执行sudo cp -a build/* / 失败,因为mac的新版本系统没有那个权限。
然后我复制到了/usr/local/include 和 /usr/local/lib中。
最后测试的时候报下面的错误
ImportError: dlopen(/Users/king/Library/Python/3.8/lib/python/site-packages/udbserver.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_udbserver'
The text was updated successfully, but these errors were encountered: