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

Archive Index This month's Index

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

Re: multithread calls libssh2_session_handshake,error,return -13

From: Michael Kwasigroch <mkwasigr_at_intercope.com>
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 <alfred.gebert_at_gmail.com>
To: libssh2 development <libssh2-devel_at_cool.haxx.se>
Date: 13.02.2014 15:35
Subject: Re: multithread calls
libssh2_session_handshake,error,return -13
Sent by: "libssh2-devel" <libssh2-devel-bounces_at_cool.haxx.se>

On Thu, Feb 13, 2014 at 10:28 AM, Michael Kwasigroch
<mkwasigr_at_intercope.com> 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 libssh2.so.1.0.1
        libssl.so.0.9.8 =>
        libcrypto.so.0.9.8 =>
        libnsl.so.1 => /lib/64/libnsl.so.1
        libsocket.so.1 => /lib/64/libsocket.so.1
        libgcc_s.so.1 => /opt/csw/lib/64/libgcc_s.so.1
        libpthread.so.1 => /lib/64/libpthread.so.1
        libc.so.1 => /lib/64/libc.so.1
        libdl.so.1 => /lib/64/libdl.so.1
        libmp.so.2 => /lib/64/libmp.so.2
        libmd.so.1 => /lib/64/libmd.so.1
        libscf.so.1 => /lib/64/libscf.so.1
        libdoor.so.1 => /lib/64/libdoor.so.1
        libuutil.so.1 => /lib/64/libuutil.so.1
        libgen.so.1 => /lib/64/libgen.so.1
        libm.so.2 => /lib/64/libm.so.2

And LD_LIBRARY_PATH is empty.
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

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.

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-02-13

the libssh2 team