public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rafael Kitover <rkitover@cpan.org>
To: cygwin@cygwin.com
Subject: ADO does not work from bash
Date: Wed, 09 Feb 2011 12:30:00 -0000	[thread overview]
Message-ID: <4D5288D2.2090900@cpan.org> (raw)

I first reported this problem to the Win32::OLE Perl module RT queue,
but as it turns out, the problem is in the Cygwin shell environment and
not in the Cygwin perl or the module.

From Cygwin bash:

$ perl -MWin32::OLE -wle 'Win32::OLE->new("ADODB.Connection")'
Win32::OLE(0.1709) error 0x8007007e: "The specified module could not be
found" at -e line 1

In a cmd.exe window:

c:\users\rkitover>c:\cygwin\bin\perl -MWin32::OLE -wle
"Win32::OLE->new(q{ADODB.Connection})"

c:\users\rkitover>

that executes successfully.

Any ideas what can cause this?

It seems unlikely to be environment variables as Cygwin leaves most
environment variables alone, and COMSPEC is still set to cmd.exe.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2011-02-09 12:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 12:30 Rafael Kitover [this message]
2011-02-13 12:10 ` Rafael Kitover

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5288D2.2090900@cpan.org \
    --to=rkitover@cpan.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).