This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: postgresql: libpq.a not an import library


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]