Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-572

Building on AGL will use the wrong path for the interpreter (pyinstaller)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • Chinook
    • Build and Tools
    • None
    • I was using the intel minnowboard turbot running AGL chinook 3.0.0. I added `{{INHERIT = "rm_work"` and `EXTRA_IMAGE_FEATURES = "dev-pkgs tools-sdk"` to the local.conf}}

      I made a python script on AGL which runs fine with python but when I use pyinstaller to create a binary with it, I am unable to run the binary. I was using pyinstaller within AGL itself to create the binary. When I run the binary, I get a "No such file or directory" error. I had to patch the binary by using patchelf --set-interpreter /lib/ld-linux-x86-64.so.2 <binary> to get it to work. 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            wsamhaddad wesam haddad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: