Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 57628
Status: resolved
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.29
Fixed in: (no value)



Subject: 'multiple definition' of libssh2_error
Hi, Seems that libssh2-1.2.5 has a 'libssh2_error' function, and it clashes with the function of the same name used in SSH2.xs. When building Net- SSH2 against that (static) library, I'm getting: C:\_64\msys\1.0\local\lib\libssh2.a(misc.o):misc.c:(.text+0x0): multiple definition of `libssh2_error' SSH2.o:SSH2.c:(.data+0x0): first defined here I replaced each occurrence of 'libssh2_error' in SSH2.xs (the symbol appears only 3 times) with 'xs_libssh2_error' and everything then works fine. Cheers, Rob
Fixed in 0.30, thank you for the report.