Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YLJY6-00065A-Pa for pgsql-odbc@arkaria.postgresql.org; Tue, 10 Feb 2015 22:44:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YLJY6-0003h3-4h for pgsql-odbc@arkaria.postgresql.org; Tue, 10 Feb 2015 22:44:54 +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 1YLJY5-0003gw-90 for pgsql-odbc@postgresql.org; Tue, 10 Feb 2015 22:44:53 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YLJY2-0007b0-2W for pgsql-odbc@postgresql.org; Tue, 10 Feb 2015 22:44:51 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 553DC293F2; Tue, 10 Feb 2015 14:44:45 -0800 (PST) Received: from EX13-CAS-011.vmware.com (EX13-CAS-011.vmware.com [10.113.191.63]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 4C33D40489; Tue, 10 Feb 2015 14:44:45 -0800 (PST) Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 10 Feb 2015 14:44:33 -0800 Message-ID: <54DA89CE.9000909@vmware.com> Date: Wed, 11 Feb 2015 00:44:30 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Ants Aasma , Subject: Re: Since 09.03.0400 need to link to secur32.lib on Windows? References: In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.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: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? - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc