Subject: Re: multithread calls libssh2_session_handshake,error,return -13

Re: multithread calls libssh2_session_handshake,error,return -13

From: Michael Kwasigroch <>
Date: Thu, 13 Feb 2014 16:00:05 +0100


now I (think I) now what bit me: the path specified with --with-XXX-prefix
replaces the standard lib location and is not pointing to the directory
holding the shared lib(s).

My bad! I should be more careful with these thingies... I tried to
understand how configure works but gave up after some time...

Anyway, thanks for clarifying!

- Michael

From: Alfred Gebert <>
To: libssh2 development <>
Date: 13.02.2014 15:35
Subject: Re: multithread calls
libssh2_session_handshake,error,return -13
Sent by: "libssh2-devel" <>

On Thu, Feb 13, 2014 at 10:28 AM, Michael Kwasigroch
<> wrote:
> Alfred,
> (@ALL: sorry to hitchhike this thread)
> in your configure call you use --with-XXX-prefix- this never worked for
> neither in the stable nor the development versions of libssh2 on AIX,
> Solaris and Linux.

I think it works for me.

-bash-3.00$ ldd =>
/home/agebert/local/lib/ =>
/home/agebert/local/lib/ => /lib/64/ => /lib/64/ => /opt/csw/lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/ => /lib/64/

And LD_LIBRARY_PATH is empty.

INTERCOPE International Communication Products Engineering GmbH
Himmelstrasse 12-16, 22299 Hamburg, Germany
Managing Directors: Reinhart Laumer, Frank Kollender
Commercial Registry: Amtsgericht Hamburg, HRB 31 638
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

Received on 2014-02-13