Skip to content

swig compilation on Ubuntu #14

@pluniak

Description

@pluniak

Hi @LingDong-
I tested your Python version and it's really nice. I'd need a significant speed up though and I cannot run the swig version:

ImportError: /tf/Repos/trace_skeleton/swig/_trace_skeleton.so: invalid ELF header

I'm running this inside a docker container with gcc version:

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

My Python version is 3.6.9.

I cannot build from source as I don't have a .dylib file in my system (at least I cannot find it). I tried with

/usr/lib/x86_64-linux-gnu/libpython3.6m.so.1

instead, but it doesn't work:

collect2: error: ld returned 1 exit status

I'm unexperienced with gcc (and C in general) and I've spent a few hours on this already. Any suggestions would be greatly appreciated!

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