Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
57628
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.