Problems distributing my Ruby/Qt application

I’m trying to distribute my Ruby/Qt application to end-users who don’t
have Ruby or Qt installed on their computer. I packaged up
mswin32-ruby16.dll, qt-mt230nc.dll, qt2.rb, qt2.so and ruby.exe into a
ZIP file.

To test it, I unzipped the file on a Win98 machine that has no Ruby
installation. However, it choked on the “require ‘qt2.so’” line in
qt2.rb, saying “One of the library files required to run this
application cannot be found” and then mentioning qt2.so, even though
qt2.so was right there in the directory!

If I do this:

ruby
require ‘qt2.so

it will display that error message too.

I also tried even copying over all the other files that came in the
Ruby/Qt2 distribution: formmaker.rb, qtui.rb, glut.so, opengl.so,
qt2canvas.so, qt2gl.so, qt2sound.so, qt2table.so, qt2xml.so and
zlib.so, but after that I still got the same error message.

Any ideas on what I’m doing wrong?