This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mysql.so: Permission denied (Ruby under Cygwin)
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/