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

cannot load plugin python.so #117

Open
wr18768458295 opened this issue Jan 8, 2018 · 1 comment
Open

cannot load plugin python.so #117

wr18768458295 opened this issue Jan 8, 2018 · 1 comment

Comments

@wr18768458295
Copy link

Hello David, There‘s a problem when I use latest version: cannot load python.so
(System Details: Ubuntu 14.04 LTS, gcc 4.8, python 2.7.6):
First use "make" command,the output is:
310 successes; 4 failures; 0 skipped
Failed tests:
test/cpychecker/absinterp/comparisions/conditionals
tests/plugin/compound-locations
tests/plugin/rich-location
tests/plugin/rtl
make: *** [test-suite] Error 1

then use "gcc -fplugin=python.so -fplugin-arg-python-script=**.py **.c",the output is:
cc1: error:cannot load plugin python.so
(python.so have been moved to usr/lib/gcc/x86_64linux-gun/4.8/plugin folder)

@wr18768458295 wr18768458295 changed the title ccannot load plugin python.so cannot load plugin python.so Jan 8, 2018
@fHachenberg
Copy link

Does it work if you manually set LD_LIBRARY_PATH? Like so:

LD_LIBRARY_PATH=usr/lib/gcc/x86_64linux-gnu/4.8/plugin gcc -fplugin=python.so -fplugin-arg-python-script=**.py **.c

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