Subject: Re: libssh2 not making on AIX5.2 - Undefined symbol: ._libssh_error (libssh2: message 1 of 20)

Re: libssh2 not making on AIX5.2 - Undefined symbol: ._libssh_error (libssh2: message 1 of 20)

From: <>
Date: Wed, 28 Mar 2012 15:34:08 +0200


Sorry it looks like some of the info got lost. Here is the rest of my
original email, and the important part, the error message

libtool: link: /usr/bin/grep -E -e "^libssh2_.*" ".libs/libssh2.exp" >
libtool: link: mv -f ".libs/libssh2.expT" ".libs/libssh2.exp"
libtool: link: gcc -shared -o .libs/ .libs/channel.o
.libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o
.libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o
.libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o
.libs/version.o .libs/knownhost.o .libs/agent.o .libs/openssl.o
.libs/libgcrypt.o .libs/pem.o .libs/keepalive.o .libs/global.o
-L/opt/freeware/lib -lgcrypt -lz -lc -Wl,-bnoentry
-Wl,-bE:.libs/libssh2.exp -Wl,-bernotok
ld: 0711-317 ERROR: Undefined symbol: ._libssh_error
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/tmp/libssh2/libssh2-1.4.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/libssh2/libssh2-1.4.0/src'
make: *** [all-recursive] Error 1

On Wed, Mar 28, 2012 at 3:16 PM,
> Hi All,
> It looks like I am getting a rather unique error, given the low hit
> numbers on Google.
> I am trying to build libssh2 1.4.0 on AIX 5.2 and really struggling.
> Google has sent me on a good few wild goose chases, with days of
> installing and uninstalling various things, but keep coming back to
> the error below.
> Hopefully someone can help me because I desperately need to get this
> resolved so that I can move onto the build of cURL that people are
> shouting for.
> I'm not sure what all is needed for you guys to help, but I thought I
> would open with the below:-
> /tmp/libssh2/libssh2-1.4.0 >/usr/local/bin/make
> Making all in src
> make[1]: Entering directory `/tmp/libssh2/libssh2-1.4.0/src'
> /usr/local/bin/make  all-am
> make[2]: Entering directory `/tmp/libssh2/libssh2-1.4.0/src'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I../include -I../src   -g -O2 -MT channel.lo -MD -MP -MF
> ".deps/channel.Tpo" -c -o channel.lo channel.c; \
> then mv -f ".deps/channel.Tpo" ".deps/channel.Plo"; else rm -f
> ".deps/channel.Tpo"; exit 1; fi
> _______________________________________________
> libssh2-devel

Received on 2012-03-28