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: Xemacs broken after postgresql upgrade



Brian Dessent wrote:
> Renà Berber wrote:
> 
> 
>>A better fix is to link cygpq.dll to pq.dll:
>>
>># ln /usr/bin/cygpq.dll /usr/bin/pq.dll
This will be hard link on WinNT+ and NTFS. So it will be ok for those
with such configuration.

> 
> 
> That's not a great habit to get into.  It will only work if the program
> uses Cygwin methods (e.g. dlopen()) to dynamically load the dll at
> runtime.  It will absolutely not work for a .exe that was linked to a
> .dll in the normal way, or for a program that uses LoadLibrary() at
> runtime, because the windows dynamic loader has no idea what a symlink
> is and you will get the "Can't locate DLL" popup.
> 
> Brian
> 

Vaclav


Attachment: signature.asc
Description: OpenPGP digital signature


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