Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4377A47B.C388430D@dessent.net> Date: Sun, 13 Nov 2005 12:39:23 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Xemacs broken after postgresql upgrade References: <82mzka9d8k DOT fsf AT vzell-de DOT de DOT oracle DOT com> Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jADKdX3m011669 René Berber wrote: > A better fix is to link cygpq.dll to pq.dll: > > # ln /usr/bin/cygpq.dll /usr/bin/pq.dll 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 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/