Skip to content

won't be able to run script #153

Description

@Vishrutidesai

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

Activity

  1. arslankhan8 commented on Dec 26, 2018

    @arslankhan8

    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.

  2. arquicanedo commented on Jul 27, 2020

    @arquicanedo

    @arslankhan8 this still works. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions