X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message Subject: RE: mysql.so: Permission denied (Ruby under Cygwin) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 18 Jun 2007 15:10:04 +0200 Message-ID: <387E9FC1619C0849BA8934938037E54F0884DA@sv-muc-004.venyon-mail.local> In-Reply-To: <20070618130340.GO4179@calimero.vinschen.de> 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> From: "Ronald Fischer" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l5IDAHGJ017303 > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Corinna Vinschen > Sent: Monday, June 18, 2007 3:04 PM > To: cygwin AT cygwin DOT com > Subject: Re: mysql.so: Permission denied (Ruby under Cygwin) > > On Jun 18 14:57, Ronald Fischer wrote: > > Finally, I have installed the Ruby mysql module via > > gem install -r mysql > > assuming that "this would do the right thing" anyway. > > Native Windows gem or Cygwin gem? If you use the native Windows > gem you'll get native WIndows packages. I don't even know if a > Cygwin gem exists. There is none. I was told by Ruby-Talk people that I should use the Windows gem - it would work fine. > > > Have you checked the library > > > dependencies of mysql.so? This is funny: Although ls shows that mysql.so exists in $PWD, I get /usr/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext $ cygcheck mysql.so Error: could not find mysql.so But at least it works when I supply a path: /usr/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext $ cygcheck ./mysql.so .\mysql.so c:\ruby185\bin\msvcrt-ruby18.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\GDI32.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\ADVAPI32.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\WS2_32.dll C:\WINDOWS\system32\msvcrt.dll C:\WINDOWS\system32\WS2HELP.dll c:\Programme\MySQL\MySQL Server 5.0\bin\LIBMYSQL.dll C:\WINDOWS\system32\WSOCK32.dll So this seems to look well, doesn't it? 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/