Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YLJgf-0006OA-Bv for pgsql-odbc@arkaria.postgresql.org; Tue, 10 Feb 2015 22:53:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YLJge-0004Pb-6C for pgsql-odbc@arkaria.postgresql.org; Tue, 10 Feb 2015 22:53:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YLJgd-0004PQ-9f for pgsql-odbc@postgresql.org; Tue, 10 Feb 2015 22:53:43 +0000 Received: from mail.cybertec.at ([87.118.86.135]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YLJga-0007pL-AW for pgsql-odbc@postgresql.org; Tue, 10 Feb 2015 22:53:41 +0000 Received: from [192.168.2.152] (unknown [82.131.86.231]) by mail.cybertec.at (Postfix) with ESMTPSA id 2979139010DE; Tue, 10 Feb 2015 22:53:32 +0000 (UTC) Message-ID: <54DA8BEC.1080403@cybertec.at> Date: Wed, 11 Feb 2015 00:53:32 +0200 From: Ants Aasma User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Heikki Linnakangas , pgsql-odbc@postgresql.org Subject: Re: Since 09.03.0400 need to link to secur32.lib on Windows? References: <54DA89CE.9000909@vmware.com> In-Reply-To: <54DA89CE.9000909@vmware.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 02/11/2015 12:44 AM, Heikki Linnakangas wrote: > On 02/11/2015 12:39 AM, Ants Aasma wrote: >> Hi, >> >> I'm getting linker errors for GetUserNameExA when building on Win7SP1 >> with SDK7.1. Quick googling shows that this function comes from >> secur32.lib. Indeed, adding it to CUSTOMLINKLIBS makes it build, >> although I haven't tested if it still works yet. I'm not too >> comfortable in Windows build systems to come up with a patch. >> >> References were introduced by these two commits: >> e85fbb2 refs/heads/master Use libpq for everything. >> c4149c9 refs/tags/REL-09_03_0400 Additonal improvement on MSDTC >> enlistment. > > Hmm, this sounds familiar. Did commit b6329d97 not fix that? By the looks of it it did, just hasn't been released yet. I didn't see anything on the mailing list so I didn't think to check if it had already been fixed in HEAD. Thanks, Ants Aasma -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc