udbserver
udbserver copied to clipboard
mac m1下使用有问题
编译完成后执行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'
Can the C example run on your environment?
我使用python example也是一样的。
sudo /usr/bin/python3 setup.py install
然后
/usr/bin/python3 example.py
Traceback (most recent call last):
File "example.py", line 3, in
使用c example是正常的
king@kingdeMacBook-Pro ~/git_src/udbserver/bindings/c master gcc example.c -lunicorn -ludbserver -o example king@kingdeMacBook-Pro ~/git_src/udbserver/bindings/c master ./example Waiting for a GDB connection on "127.0.0.1:1234"...
Could you try this?