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. >> at ./a line 3 >> Compilation failed in require at ./a line 3. >> BEGIN failed--compilation aborted at ./a line 3. > > Yep, 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 2008 >> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.dll > > It appears to lack a couple of supporting DLLs: > > $ cygcheck > /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.dll > F:\cygwin-1.7\lib\perl5\vendor_perl\5.10\i686-cygwin\auto\Win32\ODBC\ODBC.dll > C:\WINNT\system32\KERNEL32.dll > C:\WINNT\system32\NTDLL.DLL > F:\cygwin-1.7\bin\cygwin1.dll > C:\WINNT\system32\ADVAPI32.DLL > C:\WINNT\system32\RPCRT4.DLL > cygcheck: track_down: could not find cygiodbc-2.dll > > cygcheck: track_down: could not find cygiodbcinst-2.dll > > F:\cygwin-1.7\bin\cygperl5_10.dll > F:\cygwin-1.7\bin\cygcrypt-0.dll > > > According to the package search, these don't exist anywhere in the distro. > 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 > easily.
Oops. I'll add libiobdc to my list of TODO's. -- 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/