delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <49CE2E49.9070408@gmail.com> |
References: | <3F513B52-C581-4FB4-B2CF-0022384FE511 AT jenika DOT com> <49CE2E49 DOT 9070408 AT gmail DOT com> |
Date: | Sat, 28 Mar 2009 18:39:03 +0100 |
Message-ID: | <6910a60903281039o72c82dddn1febe23385aeb705@mail.gmail.com> |
Subject: | Re: Win32::ODBC fails to load in perl. |
From: | Reini Urban <rurban AT x-ray DOT at> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
2009/3/28 Dave Korn: > matthew@ wrote: >> The following simple perl script. >> >> #!/usr/bin/perl >> >> use Win32::ODBC; >> >> When run results in: >> >> Can't load >> '/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.dll' >> for module Win32::ODBC: No such file or directory at >> /usr/lib/perl5/5.10/i686-cygwin/DynaLoader.pm line 201. >> =A0at ./a line 3 >> Compilation failed in require at ./a line 3. >> BEGIN failed--compilation aborted at ./a line 3. > > =A0Yep, confirmed. > >> This is the actual file: >> ls -al /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.= dll >> -rwxr-xr-x+ 1 Administrator Users 189952 Feb 16 =A02008 >> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.dll > > =A0It appears to lack a couple of supporting DLLs: > > $ cygcheck /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/OD= BC.dll > F:\cygwin-1.7\lib\perl5\vendor_perl\5.10\i686-cygwin\auto\Win32\ODBC\ODBC= .dll > =A0C:\WINNT\system32\KERNEL32.dll > =A0 =A0C:\WINNT\system32\NTDLL.DLL > =A0F:\cygwin-1.7\bin\cygwin1.dll > =A0 =A0C:\WINNT\system32\ADVAPI32.DLL > =A0 =A0 =A0C:\WINNT\system32\RPCRT4.DLL > cygcheck: track_down: could not find cygiodbc-2.dll > > cygcheck: track_down: could not find cygiodbcinst-2.dll > > =A0F:\cygwin-1.7\bin\cygperl5_10.dll > =A0 =A0F:\cygwin-1.7\bin\cygcrypt-0.dll > > > =A0According to the package search, these don't exist anywhere in the dis= tro. > I found an announcement posting for perl-libwin32 that says > > "To build from source you will need the libiodbc package, and apply a > small patch:" > > http://www.cygwin.com/ml/cygwin-announce/2008-06/msg00022.html > > so with a bit of luck you should be able to build yourself a copy quite e= asily. Oops. I'll add libiobdc to my list of TODO's. --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |