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:
74747
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
cpan698301 [...] mstier.de
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.40
Fixed in:
(no value)



Subject: wrong RPATH when building against newer openssl in non-standard location
During build, LD_LIBRARY_PATH is set to /opt/perl-5.14.2/lib where a newer openssl release has been installed. Build target is Debian 6.0/i586. All other perl modules put /opt/perl-5.14.2/lib into the shared lib's rpath config option, so the build files in Net::SSH2 seem to mess that up. + readelf -h /usr/src/packages/BUILD/debian/optperl5142-pkgs//opt/perl-5.14.2/lib/site_perl/5.14.2/i586-linux-thread-multi/auto/Net/SSH2/SSH2.so ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x41b0 Start of program headers: 52 (bytes into file) Start of section headers: 126044 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 5 Size of section headers: 40 (bytes) Number of section headers: 29 Section header string table index: 26 readelf -d "$DESTDIR/$PREFIX"/lib/site_perl/5*/*-multi/auto/Net/SSH2/SSH2.so || : + readelf -d /usr/src/packages/BUILD/debian/optperl5142-pkgs//opt/perl-5.14.2/lib/site_perl/5.14.2/i586-linux-thread-multi/auto/Net/SSH2/SSH2.so Dynamic section at offset 0x1e5a4 contains 26 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libssh2.so.1] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libssl.so.1.0.0] 0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000f (RPATH) Library rpath: [/usr/lib] 0x0000000c (INIT) 0x3890 0x0000000d (FINI) 0x1a6c8 0x00000004 (HASH) 0xf8 0x6ffffef5 (GNU_HASH) 0x7c0 0x00000005 (STRTAB) 0x192c 0x00000006 (SYMTAB) 0xa7c 0x0000000a (STRSZ) 5150 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000003 (PLTGOT) 0x1f7f4 0x00000002 (PLTRELSZ) 1136 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x3420 0x00000011 (REL) 0x2f50 0x00000012 (RELSZ) 1232 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x2f20 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x2d4a 0x6ffffffa (RELCOUNT) 66 0x00000000 (NULL) 0x0
Hopefully fixed in 0.42, please try it and reopen the ticket if it still does not work for you.


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.