Skip to content

Linking errors, probably from "remove lapack linking" branch #342

Open

Description

@matthew-brett

Before we merged #328 - we weren't getting any link errors - see https://travis-ci.org/nipy/nipy/builds/56913971

After we merged #328 - the Python 3 build broke down, probably for unrelated reasons - see #338 .

Re-enabling the Python 3 build (#341) we now have 12 linking errors - see : https://travis-ci.org/matthew-brett/nipy/jobs/77184112

Errors are of form:

ImportError: /home/travis/build/matthew-brett/nipy/venv/lib/python3.4/site-packages/nipy/labs/utils/routines.cpython-34m.so: undefined symbol: PyCObject_AsVoidPtr

This is only for Python 3 - no link errors for Python 2:

https://travis-ci.org/matthew-brett/nipy/jobs/77184109

@alexis-roche - I think these are from the lapack merge - is that possible?

Activity

  1. alexis-roche commented on Aug 25, 2015

    @alexis-roche
    Member

    Oh, yes, this is due to a change in the Python C API from 2.7 to 3. My code uses Python CObjects, which turn out to be deprecated as of Python 2.7, and are probably no longer supported in Python 3 (https://docs.python.org/2/c-api/cobject.html). I think I see how to fix this using the new "PyCapsule" object, and will submit a patch later this week.

  2. matthew-brett commented on Aug 25, 2015

    @matthew-brett
    MemberAuthor

    Thanks - that would be very helpful...

  3. added a commit that references this issue on Aug 31, 2015
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions