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: <024f01c2959c$b3d06110$78d96f83@pomello> From: "Max Bowsher" To: , References: <200211261624 DOT 58204 DOT tanner AT real-time DOT com> Subject: Re: dll not found when "symlink" used? Date: Tue, 26 Nov 2002 22:39:35 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Bob Tanner wrote: > Pretty new to cygwin, so I'm not 100% sure how these symlinks work. > View the symlink under cygwin-bash, things look right, but when I > look at the files under Windows Explorer, they are just .lnk file. > > My question is, do cygwin binaries understand and respect these .lnk > files? > > I don't think they do. > > I'm trying to run a binary that requires libqt-mt.dll, here is what > bash shows me (formated to fix): > > $ ls -l libqt-mt* > lrwxrwxrwx 116 Nov 26 13:18 libqt-mt.dll ->libqt-mt.dll.3.1.0* > lrwxrwxrwx 116 Nov 26 13:18 libqt-mt.dll.3 -> libqt-mt.dll.3.1.0* > lrwxrwxrwx 116 Nov 26 13:18 libqt-mt.dll.3.1 -> libqt-mt.dll.3.1.0* > -rwxr-xr-x 7786145 Nov 26 13:18 libqt-mt.dll.3.1.0* > > You can see libqt-mt.dll is a symlink to libqt-mt.dll.3.1 and > libqt-mt.dll.3.1 is in my path. > > $ which libqt-mt.dll > /cygdrive/r/BUILD/qt-x11-free-3.1.0/lib/libqt-mt.dll > > Running an application gives me 'The dynamic link library > libqt-mt.dll could not be found in the specified path directories>'. > > If I rm libqt-mt.dll, and cp libqt-mt.dll.3.1.o to libqt-mt.dll > things work. > > I guess I'm looking for conformation that cygwin binaries do not > honor the symlinks. Sure, cygwin binaries do. But *only* Cygwin binaries. And the Windows DLL loaded isn't a Cygwin binary. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/