X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_ALL,SPF_HELO_PASS,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jet Thompson Subject: Re: nokogiri Load Error Date: Tue, 6 Jul 2010 17:50:31 +0000 (UTC) Lines: 69 Message-ID: References: <4C3359F4 DOT 7030802 AT bopp DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > > $irb > > irb(main):001:0> require 'rubygems' > > => false > This is not a Cygwin question but rather a Ruby question. Yes, realized what was happening after my post, but did not know how to delete my post. The above is not related to my problem, actually works fine. > Cygwin environment, you have probably the RUBYOPT environment variable > set to include "-rubygems" or something very similar such that the > rubygems module is automatically loaded. That is exactly what was happening. > To address your first question which started this thread, it appears > that your installation of nokogiri did not complete successfully. Did > you check to confirm whether or not > /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so is > actually there? nokogiri.so is indeed in /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri > My guess is that you don't have the gcc package gcc is installed, and I have been building other libraries. So this is error again from irb: irb(main):002:0> require 'nokogiri' LoadError: No such file or directory - /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so from /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from (irb):2 I have even tried pointing: RUBYLIB=/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri ...with no result. The strange part is the "No such file or directory". It seems that if the library was failing to load it would give a different message. But since the library is indeed there, it is interesting. I just went through and added group 'Users' to libsml2 and libxslt, libexslt, in case that was a problem. I noticed there was not a group assigned in the libraries I installed. Actually, I am wondering at this point if it is the copies of the above libraries I am building against that could be the problem. However, I do believe it is the libraries at xmlsoft.org I built against. Cheers, Jet -- 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