From libssh2-devel-bounces@cool.haxx.se  Sun Dec  4 18:07:16 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id uB4H6ZFF008234;
	Sun, 4 Dec 2016 18:07:06 +0100
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com
 [IPv6:2a00:1450:400c:c09:0:0:0:234])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id uB4H6Xjp008144
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sun, 4 Dec 2016 18:06:33 +0100
Received: by mail-wm0-x234.google.com with SMTP id a197so64244712wmd.0
 for <libssh2-devel@cool.haxx.se>; Sun, 04 Dec 2016 09:06:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to; bh=bai52/8A2g5paroRJnAXJftNUxgJI3V/ORCZ3jHt0qg=;
 b=LR5Zvu/n+DrBaXKUFAUpugAuE2BMiezbNV/GQYHrXf/sKvhiQb0Vlm9jcsGX3dVIAD
 4z/1NLw67bM/oP6NMqhjQUFSMnidAEG4sa2ZCkx5xn+m2I48WmE1wGH7j00QoRB/UR2c
 Ljp2HO+uKGvyNs4OJ/Ho1sWWDYgJzu2moSCEqgtoqe5PnP7q2eUmiDw1jmTe95rHHPA3
 /KgPhJ9MPindtv+OCgjHsQXcbUVRpRehPOLcmyaImQ4lopIAfB8bMWHfvQtM9ZXE4l1b
 riuf6eLTEHvbUuZFccdOXL8GsOnaxChuHHBYa/Vm7OsMypNBuvllOtUFhj2gsZntnQEA
 +smg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to;
 bh=bai52/8A2g5paroRJnAXJftNUxgJI3V/ORCZ3jHt0qg=;
 b=i52srYeZ0/n6HsrdsfbWSIF3X6XnqoVREjbbvIpjnoojbpts48P/M6+D0XzDeODQR5
 xBTFEhiElWw/dZfYIcL0QjWHC3v5pYvWcP1EtfJPPqgg3AQ6nTmXuBaDQKaGcUXLvc94
 DsEO0xf9Ag0If7x44IQ2ZOF7t/Gr/Co9C5u4r+k0iZmhgAHRgg/qH2xrMXq/PU3EtPRt
 Fyka/A6CR+0dw3cuiOzIQuSoy1KN+NfdD8JW7i5vZVZ3Jx9tWnApopEoSwVB32S8Kwf8
 l7QeCjuvJkYGZT3wkQPm/oUGrxUzHed8W/NsgXH/R4AC0yxH3es/d9FmUHdLPGPMosCS
 YSxg==
X-Gm-Message-State: AKaTC03VomUJBphZ9KIDFYpcsXWvOk4t/oP5/H4Xp58NjX4SodmdO1HqgKRPAxpyNxZWlSiQSx97MmBU208EOQ==
X-Received: by 10.46.13.26 with SMTP id 26mr7881451ljn.53.1480871188234; Sun,
 04 Dec 2016 09:06:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.5.9 with HTTP; Sun, 4 Dec 2016 09:06:27 -0800 (PST)
In-Reply-To: <355b75ff-cc5e-60cc-83f3-93cb255568fa@gmgsystemsinc.com>
References: <alpine.DEB.2.20.1610250851150.10100@tvnag.unkk.fr>
 <355b75ff-cc5e-60cc-83f3-93cb255568fa@gmgsystemsinc.com>
From: Alexander Lamaison <swish@lammy.co.uk>
Date: Sun, 4 Dec 2016 17:06:27 +0000
X-Google-Sender-Auth: R2jp-m9XMeFpI59h_Wgg0-HptPw
Message-ID: <CADyPeTPmiBV4yNAzBnfwxynOfAfiUhUthhogwKEXxw+jQHqm_Q@mail.gmail.com>
Subject: Re: libssh2 1.8.0 Code Analysis results.
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id uB4H6ZFF008234

Thanks for the report George,

I've filed it as an issue on our github page:
https://github.com/libssh2/libssh2/issues/154

On 30 November 2016 at 02:38, George M. Garner Jr.
<ggarner_online@gmgsystemsinc.com> wrote:
> The following are the code analysis results compiling using Visual Studio
> 2015 with wincng.  Note in particular the two possible stack-based buffer
> overruns.
>
> Running Code Analysis for C/C++...
>   Generating Code...
>      Creating library .\libssh2-2.1.8.0\win32\v140\Win32\WinCNG DLL
> Debug\libssh2.lib and object .\libssh2-2.1.8.0\win32\v140\Win32\WinCNG DLL
> Debug\libssh2.exp
>   libssh2.vcxproj -> .\libssh2-2.1.8.0\win32\v140\Win32\WinCNG DLL
> Debug\libssh2.dll
>   libssh2.vcxproj -> .\libssh2-2.1.8.0\win32\v140\Win32\WinCNG DLL
> Debug\libssh2.pdb (Full PDB)
> .\libssh2-2.1.8.0\src\kex.c(270): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\kex.c(299): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\kex.c(894): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\kex.c(923): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1088): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1091): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1094): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1097): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1110): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1113): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1116): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\knownhost.c(1119): warning C6031: Return value
> ignored: 'snprintf'.
> .\libssh2-2.1.8.0\src\misc.c(362): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\misc.c(367): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\misc.c(373): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\misc.c(466): warning C6386: Buffer overrun while
> writing to 'buffer+msglen':  the writable size is '1536' bytes, but '1537'
> bytes might be written.
> .\libssh2-2.1.8.0\src\scp.c(297): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\scp.c(839): warning C6031: Return value ignored:
> 'snprintf'.
> .\libssh2-2.1.8.0\src\transport.c(90): warning C6386: Buffer overrun while
> writing to 'buffer':  the writable size is '256' bytes, but 'used++' bytes
> might be written.
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel



-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sun Dec  4 18:13:47 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id uB4HDig0014206;
	Sun, 4 Dec 2016 18:13:47 +0100
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com
 [IPv6:2a00:1450:400c:c09:0:0:0:22b])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id uB4HDhxL014049
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sun, 4 Dec 2016 18:13:43 +0100
Received: by mail-wm0-x22b.google.com with SMTP id a197so64412058wmd.0
 for <libssh2-devel@cool.haxx.se>; Sun, 04 Dec 2016 09:13:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to; bh=lE+pOUEcLBa4WQuY52kZo2X3sYybjoFNHCN/OYDLqwg=;
 b=FsZwA5dLK+Wae4/MrhcrdXFo2vLiwbfcKmcchgGHTJ8H/UkWOJm5HY2NvCWjuxHjoJ
 RQl23nfZIwcF4tDOlc1DbPHu0V6aUpFFrX/Ob3L6ti4CA1MuqG4RkrMHSvfINxsHkfvF
 rl1rm2t3NHTz0laLjaHMLlJeZAiUIUd27Z29UZpTVZuvk56MSZTVj0k4hQd3NzgZ563l
 yJhlPQXC8e4jUFN+MhLA+dQjr2gQ+BV6mPwmRrMoMRTA/M1o99QxzgOxCnHPoKxmAiAw
 TpgQKJWRLKOpfcDVFg+OetmGDvZ/V+D2QTndDHJYHxm8ao69d5OxUdhbwEZqa1MrKmvl
 zuCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to;
 bh=lE+pOUEcLBa4WQuY52kZo2X3sYybjoFNHCN/OYDLqwg=;
 b=FbbNmoKZDw+tnNjoIZz/wns3HkL6ZZPqDHNkv8SiYoyPGgy81LfaDGU830qhgs5qjx
 FAnhMFyYG9q5OgG8Tfao9vxrhWe0wt5S61m4EfHGv1IujeUhfOBVo1S4rH9KDZ8SnHcq
 4ZRPQA6ecJewdZUVt7sTV1QXbTrBRh53G9ZvuRl+fMlyTMqRgqlyBZwsDcS9c8T2jabg
 OT/9/PeLaZBWJ7mpsssF/DQ+4MlQ3EAr/etsEFd9LcGyUo0hPCiMRKp0r48qVMc8DGKM
 iNsf95rrx8k3AfRSZtLOFSUhW4zMF+Sb9cL3tVcoXwbdOy76bPaPLhjWtAWM/L6BIc6S
 b71Q==
X-Gm-Message-State: AKaTC03yY7Kp8PupujDJoEDskljhwdq2xry7HjOTEsRYZNel0Czk/YI8nnc4CWZdSBpkkq130vIVAS+DqNUf8Q==
X-Received: by 10.46.8.25 with SMTP id 25mr26031131lji.21.1480871618514; Sun,
 04 Dec 2016 09:13:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.5.9 with HTTP; Sun, 4 Dec 2016 09:13:37 -0800 (PST)
In-Reply-To: <CAO1ybNhrF=hQVZkBuWX1cGsz4UQEqqUjjJ8n80G8aQstr6=nqw@mail.gmail.com>
References: <CAO1ybNiE8Y=7ysuczLwcFtTQxBxncrD3sy-Riz-vibwc+_yb=g@mail.gmail.com>
 <CADyPeTM+btLzUXLczDFaZRbNgqamCoFCRbo4jw7oYM_JHVzjBw@mail.gmail.com>
 <CAO1ybNhQwax_QO9eDXzCH7MLPvP_ihnTRmS+bxYJG7ntWMrbcg@mail.gmail.com>
 <CADyPeTPWV6zw81087Zxb+g8pumXKV2gax6wACEARw6GOOmS-ag@mail.gmail.com>
 <CAO1ybNhKAO3+x1_RA0o824fjdY4RNzWnZ7Ho1_baCNJ=h_trwg@mail.gmail.com>
 <CADyPeTMM3YML0wxWSJshGyNmtZ4JsXOC8GYyE4NJaCHCp1kjcg@mail.gmail.com>
 <CAO1ybNhrF=hQVZkBuWX1cGsz4UQEqqUjjJ8n80G8aQstr6=nqw@mail.gmail.com>
From: Alexander Lamaison <swish@lammy.co.uk>
Date: Sun, 4 Dec 2016 17:13:37 +0000
X-Google-Sender-Auth: BvRYjsiWL_Gxp_sbZQoYnEb20qI
Message-ID: <CADyPeTMfdvVszo0zYKUQi4otwn2jxpk+dVO48FJTobDuftQFKA@mail.gmail.com>
Subject: Re: Want to build monolithic libssh2.dll on Windows (preferably Win32
 and Win64) but no real success so far
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id uB4HDig0014206

On 8 November 2016 at 11:43, Jeroen Wiert Pluimers
<jeroen.pluimers.com+libssh2.org@gmail.com> wrote:
>
>
> On Sun, Nov 6, 2016 at 12:05 AM, Alexander Lamaison <swish@lammy.co.uk>
> wrote:
>>
>> On 3 November 2016 at 23:36, Jeroen Wiert Pluimers
>> <jeroen.pluimers.com+libssh2.org@gmail.com> wrote:
>
>
>>
>> Now what _is_ interesting from the lines above is that you are getting
>> static libraries for debug builds but dynamic libraries for release
>> builds!  I don't know what could cause that.  Though I've just spotted
>> a change in CMake 3.6 that might cause it [1].  Could you try with
>> CMake 3.5.2 or older?
>
>
> I will do somewhere after https://entwickler-konferenz.de/sessions-en/ is
> over.
>
> You might have guessed from my messages that I'm very new on CMAKE, C/C++
> efforts have been a long time ago but I'm willing to learn.
>
>> If that doesn't work, did you perhaps configure it before in this
>> directory some time previously?  I suggest starting with a completely
>> clean build directory.

Were you able to check if you can link statically against OpenSSL
using CMake 3.5.2?

Thanks,

Alex
-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Dec 13 17:31:24 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id uBDGTs0C016712;
	Tue, 13 Dec 2016 17:31:15 +0100
Received: from wandercraft.eu (wandercraft.eu [62.210.189.189])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id uBDGTqMs016684
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 13 Dec 2016 17:29:52 +0100
Received: from localhost (localhost.localdomain [127.0.0.1])
 by wandercraft.eu (Postfix) with ESMTP id EACCC6614F4
 for <libssh2-devel@cool.haxx.se>; Tue, 13 Dec 2016 17:29:47 +0100 (CET)
Received: from wandercraft.eu ([127.0.0.1])
 by localhost (wandercraft.eu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id iuQ156iJBzKu for <libssh2-devel@cool.haxx.se>;
 Tue, 13 Dec 2016 17:29:47 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
 by wandercraft.eu (Postfix) with ESMTP id EC1DB662DCD
 for <libssh2-devel@cool.haxx.se>; Tue, 13 Dec 2016 17:29:46 +0100 (CET)
X-Virus-Scanned: amavisd-new at wandercraft.eu
Received: from wandercraft.eu ([127.0.0.1])
 by localhost (wandercraft.eu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id vUgM1WsVE7Iu for <libssh2-devel@cool.haxx.se>;
 Tue, 13 Dec 2016 17:29:46 +0100 (CET)
Received: from wandercraft.eu (localhost.localdomain [127.0.0.1])
 by wandercraft.eu (Postfix) with ESMTP id CD9E56614F4
 for <libssh2-devel@cool.haxx.se>; Tue, 13 Dec 2016 17:29:46 +0100 (CET)
Date: Tue, 13 Dec 2016 17:29:46 +0100 (CET)
From: Huy Cong Vu <huy-cong.vu@wandercraft.eu>
To: libssh2-devel@cool.haxx.se
Message-ID: <294570059.861570.1481646586811.JavaMail.zimbra@wandercraft.eu>
Subject: Dependancy problem libssh2
MIME-Version: 1.0
X-Originating-IP: [89.82.96.46, 127.0.0.1, 62.210.189.189]
X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC54 (Win)/8.6.0_GA_1153)
Thread-Topic: Dependancy problem libssh2
Thread-Index: InSS/a6/2rsVdg8HV3sntDdOJs7bMQ==
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1323664389=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1323664389==
Content-Type: multipart/alternative; 
	boundary="----=_Part_861569_30928938.1481646586810"

------=_Part_861569_30928938.1481646586810
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hi, 
I'm running to a dependancy problem with libcurl, libssh2 & libz, mostly related to compability of libraries. 
My libraries is compile with mingW/x86_64 Windows, here are the configuration command: 

./configure --prefix=... --with-openssl --disable-examples-build 

which returns this summary: 

version: 1.6.0 
Host type: x86-pc-mingw32 
Install prefix: ... 
Compiler: gcc 
Compiler flags: -DLIBSSH2_WIN32 
Library types: Shared=yes, Static=yes 
Crypto library: Windows Cryptography API: Next Generation 
Clear memory: yes 
Debug build: no 
Build examples: no 
Path to sshd: /bin/sshd (only for self-tests) 
zlib compression: yes 

The problem arises when I'm trying to link my application against libssh2-1.dll, there was a compability error which returns 0x00007a (load dynamic libraires problem). For now I don't know where it come from 

In my application, I only use some curl function to do a get-file by SFTP, I don't know if I use any of compression functionalities of libz. So I want to get rid of libz if possible to avoid one more level of dependancy, and yet more of compability problem. 

So my question is: Is this possible to remove zlib from dependancy when compiling libssh2. If yes, how can I do that. 

Thank you in advance; 
Best regards, 
-- 

Huy Cong 
06 69 07 97 82 
Wandercraft SAS 

------=_Part_861569_30928938.1481646586810
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s=
ize: 12pt; color: #000000"><div>Hi,&nbsp;</div><div>I'm running to a depend=
ancy problem with libcurl, libssh2 &amp; libz, mostly related to compabilit=
y of libraries.</div><div>My libraries is compile with mingW/x86_64 Windows=
, here are the configuration command:</div><div><br data-mce-bogus=3D"1"></=
div><div>./configure --prefix=3D... --with-openssl --disable-examples-build=
</div><div><br></div><div>which returns this summary:</div><div><br data-mc=
e-bogus=3D"1"></div><div> version: 1.6.0<br> Host type: x86-pc-mingw32<br> =
Install prefix: ...<br> Compiler: gcc<br> Compiler flags: -DLIBSSH2_WIN32<b=
r> Library types: Shared=3Dyes, Static=3Dyes<br> Crypto library: Windows Cr=
yptography API: Next Generation<br> Clear memory: yes<br> Debug build: no<b=
r> Build examples: no<br> Path to sshd: /bin/sshd (only for self-tests)<br>=
 zlib compression: yes<br></div><div><br data-mce-bogus=3D"1"></div><div>Th=
e problem arises when I'm trying to link my application against libssh2-1.d=
ll, there was a compability error which returns 0x00007a (load dynamic libr=
aires problem). For now I don't know where it come from&nbsp;</div><div><br=
 data-mce-bogus=3D"1"></div><div>In my application, I only use some curl fu=
nction to do&nbsp;a get-file by SFTP, I don't know if I use any of compress=
ion functionalities of libz. So I want to get rid of libz if possible to av=
oid one more level of dependancy, and yet more of compability problem.</div=
><div><br data-mce-bogus=3D"1"></div><div>So my question is: Is this possib=
le to remove zlib from dependancy when compiling libssh2. If yes, how can I=
 do that.</div><div><br data-mce-bogus=3D"1"></div><div>Thank you in advanc=
e;</div><div>Best regards,</div><div data-marker=3D"__SIG_POST__">-- <br></=
div><div><br>Huy Cong<br>06 69 07 97 82<br>Wandercraft SAS</div></div></bod=
y></html>
------=_Part_861569_30928938.1481646586810--

--===============1323664389==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1323664389==--

