jonathanharg / binaryen.py

Python bindings for Binaryen
https://pypi.org/project/binaryen.py/
Apache License 2.0
3 stars 1 forks source link

invalid ELF header error on WSL2 #5

Open ktimam opened 1 month ago

ktimam commented 1 month ago

Trying to run hello_world.py from examples on wsl2 gives the following error (same with other examples):

OSError: cannot load library '/.local/lib/python3.11/site-packages/binaryen/./libbinaryen/x86_64-linux/libbinaryen.a': /.local/lib/python3.11/site-packages/binaryen/./libbinaryen/x86_64-linux/libbinaryen.a: invalid ELF header

Running on python 3.11

Anything i'm doing wrong?

ktimam commented 1 month ago

I tried Python 3.12, it gives Segmentation fault.