Subject: RE: LIBSSH2 & AIX

RE: LIBSSH2 & AIX

From: <Lamar.Saxon_at_americredit.com>
Date: Thu, 18 Aug 2011 22:27:54 -0500

Daniel,
        Directory listing and the output of nm...
Thanks !

root_at_aoctoolbox:/usr/sys/inst.images/LIBSSH2/libssh2-1.2.9/src/.libs:> ls -l
total 9336
-rw-r----- 1 root system 94507 Aug 18 13:45 agent.o
-rw-r----- 1 root system 159182 Aug 18 13:45 channel.o
-rw-r----- 1 root system 87641 Aug 18 13:45 comp.o
-rw-r----- 1 root system 82742 Aug 18 13:45 crypt.o
-rw-r----- 1 root system 77936 Aug 18 13:45 global.o
-rw-r----- 1 root system 88626 Aug 18 13:45 hostkey.o
-rw-r----- 1 root system 77972 Aug 18 13:45 keepalive.o
-rw-r----- 1 root system 142315 Aug 18 13:45 kex.o
-rw-r----- 1 root system 103860 Aug 18 13:45 knownhost.o
-rw-r----- 1 root system 75780 Aug 18 13:45 libgcrypt.o
-rw-r----- 1 root system 1214824 Aug 18 13:46 libssh2.a
-rw-r----- 1 root system 2987 Aug 18 13:46 libssh2.exp
lrwxrwxrwx 1 root system 13 Aug 18 13:46 libssh2.la -> ../libssh2.la
-rw-r----- 1 root system 942 Aug 18 13:46 libssh2.lai
-rwxr-x--- 1 root system 1199449 Aug 18 13:46 libssh2.so.1
-rw-r----- 1 root system 84079 Aug 18 13:45 mac.o
-rw-r----- 1 root system 88996 Aug 18 13:45 misc.o
-rw-r----- 1 root system 106872 Aug 18 13:45 openssl.o
-rw-r----- 1 root system 109761 Aug 18 13:45 packet.o
-rw-r----- 1 root system 75761 Aug 18 13:45 pem.o
-rw-r----- 1 root system 104878 Aug 18 13:45 publickey.o
-rw-r----- 1 root system 101352 Aug 18 13:45 scp.o
-rw-r----- 1 root system 119320 Aug 18 13:45 session.o
-rw-r----- 1 root system 224401 Aug 18 13:45 sftp.o
-rw-r----- 1 root system 88119 Aug 18 13:45 transport.o
-rw-r----- 1 root system 134807 Aug 18 13:45 userauth.o
-rw-r----- 1 root system 76374 Aug 18 13:45 version.o

root_at_aoctoolbox:/usr/sys/inst.images/LIBSSH2/libssh2-1.2.9/src/.libs:> nm libssh2.a | grep libssh2_channel_get_exit_signal

.libssh2_channel_get_exit_signal T 268459244 448
libssh2_channel_get_exit_signal D 536875460
libssh2_channel_get_exit_signal d 536875460 12
libssh2_channel_get_exit_signal:F-1 - 9088

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Aug 2011 22:04:46 +0200 (CEST)

On Thu, 18 Aug 2011, Lamar.Saxon_at_americredit.com wrote:

> 1.2.9 exhibits the same problem:

Right, as I suspected.

> ld: 0711-317 ERROR: Undefined symbol: .libssh2_channel_get_exit_signal

I'm puzzled by the error. Why does it lack that single symbol?

Can you run nm on the libssh2.a file (possibly present in src/.libs after
you've built it) and see? Run something like:

  $ nm libssh2.a | grep libssh2_channel_get_exit_signal

--
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Privileged and Confidential.  This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information.  If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail.  You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-19