delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Subject: | RE: mysql.so: Permission denied (Ruby under Cygwin) |
MIME-Version: | 1.0 |
Date: | Mon, 18 Jun 2007 15:43:18 +0200 |
Message-ID: | <387E9FC1619C0849BA8934938037E54F0884E6@sv-muc-004.venyon-mail.local> |
In-Reply-To: | <46768651.82231835@dessent.net> |
References: | <387E9FC1619C0849BA8934938037E54F0884D2 AT sv-muc-004 DOT venyon-mail DOT local> <46767F03 DOT 48C33276 AT dessent DOT net> <387E9FC1619C0849BA8934938037E54F0884D7 AT sv-muc-004 DOT venyon-mail DOT local> <20070618130340 DOT GO4179 AT calimero DOT vinschen DOT de> <387E9FC1619C0849BA8934938037E54F0884DA AT sv-muc-004 DOT venyon-mail DOT local> <46768651 DOT 82231835 AT dessent DOT net> |
From: | "Ronald Fischer" <ronald DOT fischer AT venyon DOT com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l5IDhdp0027272 |
> > /usr/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext $ > cygcheck mysql.so > > Error: could not find mysql.so > > cygcheck is designed to check things on the PATH just as you would if > you were invoking a command, so unless you have . in PATH it isn't > expected to find anything in the PWD. Hmmmm..... But I do have . in the PATH - at the very end: $ echo $PATH /cygdrive/h/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/ Tcl/bin:/cygdrive/c/Programme/Java/jdk1.5.0_11/bin:/cygdrive/h/winbin:/c ygdrive/h/jruby-0.9.9/bin:/cygdrive/c/ruby185/bin:/cygdrive/c/Python24/: /cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/ cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programme/Utimaco/SafeGuard Easy/:/cygdrive/c/Programme/jEdit:/cygdrive/c/Programme/MySQL/MySQL Server 5.0/bin:/cygdrive/c/WINDOWS/system32/WindowsPowerShell/v1.0:/cygdrive/c/ jakarta-jmeter-2.2/bin:. > You're mixing native win32 stuff with Cygwin stuff. You're trying to > load the module into a running copy of a Cygwin ruby but this module > imports symbols from the other copy of ruby in in C:\ruby185\. This > means it probably expects data structures of the native > build, and most > likely will crash or act with very unpredictable behavior when used > elsewhere. In general this kind of cross-polination is never a good > idea. > > The *right* way to do it is to either stick to the win32 > build (only) or > to build all the components that you want to use as Cygwin modules. I understand! Thank you for the explanation. Ronald -- 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 |