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

won't be able to run script #153

Open
Vishrutidesai opened this issue Dec 18, 2018 · 2 comments
Open

won't be able to run script #153

Vishrutidesai opened this issue Dec 18, 2018 · 2 comments

Comments

@Vishrutidesai
Copy link

cc1: error: cannot load plugin /home/vishruti/gcc-python-plugin-0.15/python.so
/home/vishruti/gcc-python-plugin-0.15/python.so: cannot open shared object file: No such file or directory

@arslankhan8
Copy link

I ran into the issue you mentioned here as well. i figured LD is not able to see this so i just preloaded the error causing shared libs, you can do this by:
LD_LIBRARY_PATH=gcc-c-api gcc -fplugin=./python.so -fplugin-arg-python-command="import sys; print(sys.path)" ~/edge_cases/gimple/attr.c
This hack solved the issue for me.

@arquicanedo
Copy link

@arslankhan8 this still works. Thanks.

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

3 participants