Subject: RE: LIBSSH2 & AIX

RE: LIBSSH2 & AIX

From: <Lamar.Saxon_at_americredit.com>
Date: Thu, 18 Aug 2011 13:47:02 -0500

1.2.9 exhibits the same problem:

/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -g -O2 -L/opt/pwa
re/lib -o sftpdir_nonblock sftpdir_nonblock.o ../src/libssh2.la
libtool: link: gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib -Wl,-brtl -g -O2 -o .libs/sftpdir_nonblock sftpdir
_nonblock.o -L/opt/pware/lib -L../src/.libs -lssh2 -Wl,-blibpath:/opt/pware/lib:/opt/pware/lib:/usr/lib:/lib
if gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -DHAVE_CONFIG_H -I../include -I../example -I/opt/pware
/include -g -O2 -MT ssh2_exec.o -MD -MP -MF ".deps/ssh2_exec.Tpo" -c -o ssh2_exec.o ssh2_exec.c; \
then mv -f ".deps/ssh2_exec.Tpo" ".deps/ssh2_exec.Po"; else rm -f ".deps/ssh2_exec.Tpo"; exit 1; fi
gcc: -blibpath:/opt/pware/lib:/usr/lib:/lib: linker input file unused because linking not done
gcc: -brtl: linker input file unused because linking not done
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -g -O2 -L/opt/pwa
re/lib -o ssh2_exec ssh2_exec.o ../src/libssh2.la
libtool: link: gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib -Wl,-brtl -g -O2 -o .libs/ssh2_exec ssh2_exec.o -
L/opt/pware/lib -L../src/.libs -lssh2 -Wl,-blibpath:/opt/pware/lib:/opt/pware/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .libssh2_channel_get_exit_signal
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [ssh2_exec] Error 1
make[2]: Leaving directory `/usr/sys/inst.images/LIBSSH2/libssh2-1.2.9/example'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/sys/inst.images/LIBSSH2/libssh2-1.2.9/example'
make: *** [all-recursive] Error 1

Thanks,
Lamar

-----Original Message-----
From: Saxon, Lamar
Sent: Thursday, August 18, 2011 11:41 AM
To: libssh2-devel_at_cool.haxx.se
Subject: LIBSSH2 & AIX

Thanks for the response and support. Not too often you hear that when dealing with other packages. Being both a AIX and RHEL admin it is really appreciated !

I will download 1.2.9 and test today.

Lamar

--- In response to: ---

Date: Wed, 17 Aug 2011 22:59:48 +0200 (CEST)
From: Daniel Stenberg <daniel_at_haxx.se>
To: libssh2 development <libssh2-devel_at_cool.haxx.se>
Subject: Re: LIBSSH2 & AIX
Message-ID: <alpine.DEB.2.00.1108172254040.8167_at_tvnag.unkk.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 17 Aug 2011, Lamar.Saxon_at_americredit.com wrote:

> I know this is a long shot given the OS in question; but I was hoping
> someone might be able to help me with LIBSSH2 and AIX. I can
> configure and make 1.2.7 on AIX 6.1 with no issues. Attached is the
> output of my configure and a make results in successful completion:

I'd just like to add that we do want to be compatible with and work on AIX as well. We just might have less users on that platform so sometimes problems don't get noticed as fast as on the more widely used targets.

> Same config on 1.2.8 fails and I don't have any ideas on what might be
> the problem.

Just note that we just released 1.2.9. It might just as well show the same problem though, I don't know...

> -lssh2 -Wl,-blibpath:/opt/pware/lib:/opt/pware/lib:/usr/lib:/lib if
> gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl
> -DHAVE_CONFIG_H -I../include -I../example -I/opt/pware/include -g -O2
> -MT ssh2_exec.o -MD -MP -MF ".deps/ssh2_exec.Tpo" -c -o ssh2_exec.o
> ssh2_exec.c; \ then mv -f ".deps/ssh2_exec.Tpo" ".deps/ssh2_exec.Po";
> else rm -f ".deps/ssh2_exec.Tpo"; exit 1; fi gcc:
> -blibpath:/opt/pware/lib:/usr/lib:/lib: linker input file unused
> because linking not done gcc: -brtl: linker input file unused because
> linking not

As this build failure is for the ssh2_exec program, which is but an example, the libssh2 library has already been built. You should be able to ignore this problem, even if we of course would like to get it fixed so that you won't have to bother about it...

--
  / daniel.haxx.se
------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
End of libssh2-devel Digest, Vol 27, Issue 14
*********************************************
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-18