X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:cc
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=vbonubod45l2t9E/
	hqKXUQqdSLtvgbi43wv+EwfuQhyVqVrY8xjB0Vg25imQNFiVaR/+i0Ckdof6eSre
	cfg/HMAXR0nU46mUmNDQV1omPp1MKOUdlgRc8YsPpgurltHnTn5QWDRNf5+Gqwj1
	nsvyXrAjDGVec+a6Ju9hog+R4nI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:cc
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ff+IFi+D2TqYg8WlvAwerE
	T66+o=; b=xcD4P3rtWxc6yMOrKMRPRN5dv6/1no5Zp8IL4OHwADwPQEO55bnRkm
	1USEyNFpLcr5sgHdaUmQOSapciILtxiH7HTTgZrx4IxrIRufX3ytPQ+1VQ3eUOOU
	l3TW9Ply3pFwZtyZ6WKYcYwqBEn/wVR7vxt8CEZOKrqmrenmO+oKY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BP,TW_BQ,TW_GP,TW_IB,TW_YG autolearn=ham version=3.3.1
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=google.com; s=20120113;        h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject         :references:in-reply-to:content-type:content-transfer-encoding         :x-gm-message-state;        bh=GphOu706teQQKiq5gxTL2jDeczyKzr2QTnv2/Ak3KaI=;        b=N5dNDRPMVoHvs51WW4g36ZbRr8Rnj7+E0VLaVaW3jDnZrzd2veS0GdybR+fkKpfEMb         fyvxmYSkMOV2FkNuPJEzR6pBxrjtYkRoenpfOv0kdFMEEByIswgm58wWyHO+YDWONKBg         StsfhHaw7/z3KR7WRQYibklBZIgx+Lh82d49XNxsNypMC9uIUZx62g1aP+zpXk8MJ2vg         DMEZaxLFZdF2DaFOgxdyGLSqbiIBvdAxk9h4XevyrQqN2uUPLqUOSqXOaa5SJXFU3e7s         762iY/PWo95B3+wBy506A9n/BXLGkOIiIWrYOVBE2CY32oS74EIZo1vyUtVcD+LTfyQ8         DKMA==
X-Received: by 10.112.156.5 with SMTP id wa5mr739846lbb.63.1371110950691;        Thu, 13 Jun 2013 01:09:10 -0700 (PDT)
Message-ID: <51B97E1B.3060801@gmail.com>
Date: Thu, 13 Jun 2013 10:08:59 +0200
From: Danjel McGougan <danjel.mcgougan@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: yselkowitz@users.sourceforge.net, marco.atzeri@gmail.com
Subject: Re: postgresql: libpq.a not an import library
References: <51B0E34A.5010801@users.sourceforge.net> <51B0E93B.9030806@gmail.com> <51B16F2D.7010500@users.sourceforge.net> <51B32B26.7050006@gmail.com>
In-Reply-To: <51B32B26.7050006@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQl6l9IOF+IED3q4K+oLPRvjz46aIIwrtmdUcVbdG5B2tbzt81Iw0VRXPhmZl7K54zWAZ25J

On 2013-06-08 15:01, marco atzeri wrote:
> Il 6/7/2013 7:27 AM, Yaakov (Cygwin/X) ha scritto:
>> On 2013-06-06 14:55, marco atzeri wrote:
>>> Il 6/6/2013 9:30 PM, Yaakov (Cygwin/X) ha scritto:
>>>> libpq.a was always an import library for the libpq DLL, but in
>>>> libpq-devel-9.2.4-1, it is an ordinary static library, but there is no
>>>> libpq.dll.a implib either.  Could you please fix this?
>>>
>>> give me some time to review again the "unusal" postgresql
>>> build system.
>>> When I patched to remove the dlltool/dllwrap I probably forgot something
>>
>> While you're at it, is the 9.x libpq DLL really ABI compatible with the
>> 8.x version?  I haven't analyzed them, but just from history, I wouldn't
>> be surprised if it wasn't, in which case the DLL really needs to be
>> versioned so it doesn't collide with the old, unversioned 8.x DLL.
>>
> 
> libqp seems so, major version 5 is unchanged.
> Most of the others no.
> 
>>
>> Yaakov
> 
> I uploaded a test version, here
> http://matzeri.altervista.org/32bit/postgresql/
> 
> that should solve the issue and have the dll versioning,
> plus I removed the last trace of dlltool/dllwrap usage.
> 
> Could you please test before I replace all the others 9.2.x version ?
> 
> 
> To download
> wget -r -np -nH --cut-dirs=1 \
> http://matzeri.altervista.org/32bit/postgresql/index.html
> 
> find postgresql -name index.html -o -name md5.sum | xargs rm
> 

It seems the latest libpq5 (9.2.4-2) installs /bin/cygpq-5.dll, but at least xemacs fails to find this lib (it looks for cygpq.dll) and fails to load. Downgrading libpq5 to 8.2.11-1 solves the xemacs issue for me. Before I downgraded I tried to symlink cygpq.dll to cygpq-5.dll, but this caused xemacs to silently fail to start. So I gather libpq 9 is not binary compatible with libpq 8. 

BR,
Danjel McGougan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

