Sorry, I'm not sure what you mean by "There's other folks who use Solaris and have cranked out packages. Check the archives." I tried installing ruby from sunfreeware.com but still get the exact same error.
The only thing I found in the archives was someone using Sun's c compiler, but I'm using gcc. It looks to me like http11.so is not being built correctly. I figured out that the "resolve" routine that it's looking for is in it. When I do a "file" on all of the .so files in the /usr/local/lib/ruby directory all of the .so files are the right type *except* http11.so; for some reason it's a DOS executable when it should be the same as the others (ELF 32-bit blah blah blah). See the following output of the file command: > file ` find . -name '*.so' -print ` > ./1.8/i386-solaris2.10/bigdecimal.so: ELF 32-bit LSB dynamic lib 80386 > Version 1 [FPU], dynamically linked, not stripped, no debugging information > available > ./1.8/i386-solaris2.10/curses.so: ELF 32-bit LSB dynamic lib 80386 > Version 1, dynamically linked, not stripped, no debugging information > available > (many more lines like this) > ./site_ruby/1.8/i386-solaris2.10/readline.so: ELF 32-bit LSB dynamic lib > 80386 Version 1, dynamically linked, not stripped, no debugging information > available > ./gems/1.8/gems/mongrel-0.3.13.3/lib/http11.so: DOS executable (EXE) Still a lost and clueless newbie in Ruby & Rails land. Thanks again. Zed Shaw wrote: > Hi Rusty, > > On Thu, 2006-07-27 at 15:45 -0700, Rusty Wright wrote: >> I'm also getting the "undefined method resolve" error. I installed ruby >> from source on solaris x86. In a previous email Zed said >> >>> You'll need to install all ruby related items, not just "apt-get >>> install ruby". There's ri, irb, ruby1.8-dev, and lots of other >>> packages. > > There's other folks who use Solaris and have cranked out packages. > Check the archives. > >> Also note for future versions that the installer for mongrel seems to >> not work as well with the solaris make as it does with the gnu make; I >> received an error on the make install part until I added a symbolic link >> to gnu make in my ~/bin directory. If possible, an easy way to fix this >> is to test for the existence of gmake in $PATH and use that instead of >> make (solaris installs gnu make as gmake). Otherwise, document this wart. >> >> Also note the "command not found" error in the first part of the above >> output. I don't know if that's a problem or what. >> >> Thanks for your help. > > Yeah, that's actually a problem in the mkmf stuff Ruby has. I think I > might be able to cook up a fix for it, but not sure exactly how to go > about it. > > I'll ask around and see how the other Solaris folks did this. > > _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
