[fxruby-users] Help with hello.rb

James Grenning james at grenning.net
Sun May 8 16:48:43 EDT 2011


Hi

I'm new to fxruby, and ruby too. I am running on Mac OSX 10.6.7

I think I have an installation problem. I get this error:

~/fxruby-play $ ruby hello.rb 
/opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/fox16.bundle: dlopen(/opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/fox16.bundle, 9): Library not loaded: /opt/local/lib/libpng12.0.dylib (LoadError)
  Referenced from: /opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/fox16.bundle
  Reason: image not found - /opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/fox16.bundle
        from hello.rb:4


It's complaining about not having libpng12.0.dylib.  I have libpng14.0.dylib


I installed ruby with 
	sudo port install ruby

I installed fxruby with
	sudo port install rb-fxruby

I also installed it with gem like this
	 sudo gem install fxruby

Do you have any suggestions?  Is this the right place to go to get this kind of information.

I did have it working a while ago bit now that I am coming back to it, it is broken.

thanks, James

--------------------------------------------------------------------------------------------
James Grenning					Author of TDD for Embedded C
www.renaissancesoftware.net			http://pragprog.com/titles/jgade/
www.renaissancesoftware.net/blog
www.twitter.com/jwgrenning




More information about the fxruby-users mailing list