Subject: [sup-devel] [issue101] gem install fails on os x 10.6.3

From: wires <[email-masked]>
Date: Mon, 24 May 2010 16:30:06 +0000

New submission from wires <[email-masked]>:

I cannot seem to run sup:

I've updated my gem system.

$ sudo sudo gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.7
Updating RubyGems to 1.3.7
Installing RubyGems 1.3.7
RubyGems 1.3.7 installed

=== 1.3.7 / 2010-05-13

Installing sup seems to work

$ sudo gem install sup
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Successfully installed xapian-full-1.1.3.4
Successfully installed ncurses-0.9.1
Successfully installed rmail-1.0.0
Successfully installed highline-1.5.2
Successfully installed net-ssh-2.0.22
Successfully installed trollop-1.16.2
Successfully installed lockfile-1.4.3
Successfully installed mime-types-1.16
Successfully installed locale-2.0.5
Successfully installed gettext-2.1.0
Successfully installed sup-0.11
11 gems installed
Installing ri documentation for xapian-full-1.1.3.4...
Installing ri documentation for ncurses-0.9.1...
Installing ri documentation for rmail-1.0.0...
Installing ri documentation for highline-1.5.2...
Installing ri documentation for net-ssh-2.0.22...
Installing ri documentation for trollop-1.16.2...
Installing ri documentation for lockfile-1.4.3...
Installing ri documentation for mime-types-1.16...
Installing ri documentation for locale-2.0.5...
Installing ri documentation for gettext-2.1.0...
Installing ri documentation for sup-0.11...
Installing RDoc documentation for xapian-full-1.1.3.4...
Installing RDoc documentation for ncurses-0.9.1...
Installing RDoc documentation for rmail-1.0.0...
Installing RDoc documentation for highline-1.5.2...
Installing RDoc documentation for net-ssh-2.0.22...
Installing RDoc documentation for trollop-1.16.2...
Installing RDoc documentation for lockfile-1.4.3...
Installing RDoc documentation for mime-types-1.16...
Installing RDoc documentation for locale-2.0.5...
Installing RDoc documentation for gettext-2.1.0...
Installing RDoc documentation for sup-0.11...

But running it fails:

$ sup
/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle: 
dlopen(/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle, 
9): Library not loaded: /usr/local/lib/libxapian-1.1.3.dylib (LoadError)
  Referenced from: /opt/local/lib/ruby/gems/1.8/gems/xapian-full-
1.1.3.4/lib/_xapian.bundle
  Reason: image not found - /opt/local/lib/ruby/gems/1.8/gems/xapian-full-
1.1.3.4/lib/_xapian.bundle
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
	from /opt/local/lib/ruby/gems/1.8/gems/xapian-full-
1.1.3.4/lib/xapian.rb:41
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
	from /opt/local/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:3
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
	from /opt/local/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:316
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
	from /opt/local/lib/ruby/gems/1.8/gems/sup-0.11/bin/sup:15
	from /opt/local/bin/sup:19:in `load'
	from /opt/local/bin/sup:19

These are the installed gems / versions

$ gem list

*** LOCAL GEMS ***

gettext (2.1.0)
highline (1.5.2)
locale (2.0.5)
lockfile (1.4.3)
mime-types (1.16)
ncurses (0.9.1)
net-ssh (2.0.22)
rmail (1.0.0)
rubygems-update (1.3.7)
sup (0.11)
trollop (1.16.2)
xapian-full (1.1.3.4)

Any thoughts? Thanks :)

----------
messages: 233
nosy: wires
priority: bug
ruby_version: 1.8.7
status: unread
sup_version: 0.11
title: gem install fails on os x 10.6.3

_________________________________________
Sup issue tracker <[email-masked]>
<http://masanjin.net/sup-bugs/issue101>
_________________________________________
_______________________________________________
Sup-devel mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-devel