delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/18/08:48:28

X-Spam-Check-By: sourceware.org
Message-ID: <46767F03.48C33276@dessent.net>
Date: Mon, 18 Jun 2007 05:48:03 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mysql.so: Permission denied (Ruby under Cygwin)
References: <387E9FC1619C0849BA8934938037E54F0884D2 AT sv-muc-004 DOT venyon-mail DOT local>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Ronald Fischer wrote:

> /usr/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext/mysql.so: Permission
> denied - /usr/lib/ruby/gems/1.8/gems/mysql-2.7.3-mswin32/ext/mysql.so
> (LoadError)
>         from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'

Do you have libmysqlclient installed?  Have you checked the library
dependencies of mysql.so?  If you don't have the libraries that this DLL
requires it will fail to load.

Also, it's very suspicious that you'd be using what looks like a
native-compiled module (i.e. MSVCRT) in a Cygwin binary.  That's usually
a recipe for failure.

Brian

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019