Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PIP does not automatically add OBJECT_MODE=64, or equivalent when Python is 64-bit build #2

@aixtools

Description

@aixtools

The error seen is:

      /opt/lib/python3.8/config-3.8/ld_so_aix xlc_r -bI:/opt/lib/python3.8/config-3.8/python.exp build/temp.aix-5307-0747-64-3.8/c/_cffi_backend.o -lffi -o build/lib.aix-5307-0747-64-3.8/_cffi_backend.so
      ld: 0711-736 ERROR: Input file build/temp.aix-5307-0747-64-3.8/c/_cffi_backend.o:
        XCOFF64 object files are not allowed in 32-bit mode.
      error: command '/opt/lib/python3.8/config-3.8/ld_so_aix' failed with exit status 8

The manual resolution is:
export OBJECT_MODE=64

and this issue is to look into ways to fix this via packaging.

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