[Gdal-dev] Ruby/cygwin fix + request for demo :/

s duclos sylvain_duclos at yahoo.com
Thu Dec 8 14:16:21 EST 2005


Hi,

I compiled/link/run gdal on cygwin .. work fine.

Loading gdal.so within 'irb' (w/ require 'gdal/gdal')
failed because it cant find cyggdal-1.dll 

But the error msg is a bit confusing :/

irb(main):001:0> require 'gdal/gdal'
LoadError: No such file or directory -
/usr/lib/ruby/site_ruby/1.8/i386-cygwin/gdal/gdal.so
        from
/usr/lib/ruby/site_ruby/1.8/i386-cygwin/gdal/gdal.so
        from (irb):1
irb(main):002:0>

Putting gdal/.libs/cyggdal-1.dll somewhere in the PATH
or
put /usr/local/bin in PATH fix the problem.



Next,

$ irb
irb(main):001:0> require 'gdal/gdal'
=> true
irb(main):002:0> ???


Then what ! 

I tried various call but I'm getting nowhere ..

I'm basicaly 'cluless at the prompt'.

So, could someone post anything in Ruby that does 
something/anything with gdal/ogr.


Thanks,

Sylvain.

 








__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Gdal-dev mailing list