www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

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: <libssh2.bullrunner_at_spamgourmet.com>
Date: Wed, 28 Mar 2012 15:34:08 +0200

Hi,

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" >
".libs/libssh2.expT"
libtool: link: mv -f ".libs/libssh2.expT" ".libs/libssh2.exp"
libtool: link: gcc -shared -o .libs/libssh2.so.1 .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
-Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.2:/opt/freeware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.2/../../..:/usr/lib:/lib
-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]: *** [libssh2.la] 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,
<+libssh2+bullrunner+5eb356b9fd.libssh2.bullrunner#spamgourmet.com_at_spamgourmet.com>
wrote:
> 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 http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-28

the libssh2 team