Skip to content
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

Python Binding Import Error #280

Closed
tkhamvilai opened this issue Sep 8, 2020 · 1 comment
Closed

Python Binding Import Error #280

tkhamvilai opened this issue Sep 8, 2020 · 1 comment

Comments

@tkhamvilai
Copy link

I follow Ocarina Python bindings from this document https://readthedocs.org/projects/ocarina/downloads/pdf/latest/
I can import most of the packages except "import libocarina_python"

I keep getting this error
Traceback (most recent call last): File "<string>", line 1, in <module>
ImportError: /home/<my username>/Downloads/ocarina-build/ocarina_install/lib/libocarina-config.so: undefined symbol: __gnat_version

I have GNAT and gnatcoll installed. I think the issue comes from that the ocarina library cannot find these gnat libraries, but I couldn't solve it. Could you help me solve this issue?

Thank you in advance.

@yoogx yoogx transferred this issue from OpenAADL/ocarina-build Nov 27, 2020
@yoogx
Copy link
Contributor

yoogx commented Nov 27, 2020

The patch above should address this.

@yoogx yoogx closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants