Skip to content

From source builds on system libssh2 without Cython installed #43

@DerekTBrown

Description

@DerekTBrown

Bug reports

Steps to reproduce:

  1. Rebuild the library using the system libssh, with the appropriate flags set (https://ssh2-python.readthedocs.io/en/latest/installation.html#system-library-build)

Expected behaviour: [What was expected to happen.]

  1. Expect to compile the library without the need for agent forwarding logic (ie libssh2_channel_request_auth_agent)

Actual behaviour: [What actually happened.]
Yields a C warning and a runtime error:

ssh2/channel.c:6902:22: warning: implicit declaration of function 'libssh2_channel_request_auth_agent' [-Wimplicit-function-declaration]
           __pyx_v_rc = libssh2_channel_request_auth_agent(__pyx_v_self->_channel);

Very clearly, this function still occurs in the generated output:

__pyx_v_rc = libssh2_channel_request_auth_agent(__pyx_v_self->_channel);

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