Nobuyoshi Nakada wrote: > Can't you explain how you've done? But I did. See the diff between the original ossl_config.c.dist (as came in the ruby tarball) and my modified ossl_config.c > I'm not sure about Gems, but zlib is one of bundled extension > libraries. You can use --with-zlib-dir (or --with-zlib-include > and --with-zlib-lib) configure option. Actually, I was looking for these flags before I ran configure within the untarred ruby dir. But it never gave any remotest clue, see # uname -srv;pwd HP-UX B.11.11 U /usr/local/tmp/ruby-1.8.6 # ./configure --help 2>&1 | grep -ic zlib 0 I have got on this box installed an ansic built zlib that HP distribute as part of their Internet Express Open Source ports. The relevant files are located here # swlist -l file ixZlib|grep libz ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/libz.a ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/libz.sl ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/libz.sl.1 ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/libz.sl.1.2.3 ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/pa20_64/libz.a ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/pa20_64/libz.sl ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/pa20_64/libz.sl.1 ixZlib.Zlib.ZLIB-LIB: /opt/iexpress/zlib/lib/pa20_64/libz.sl.1.2.3 This would mean I have to deinstall my Ruby build completely, and run make distclean and ./configure --with-zlib-dir /opt/iexpress/zlib/lib again? Btw, will an # rm -rf /usr/local/lib/ruby suffice, or is there a better way of deinstallation? -- Posted via http://www.ruby-forum.com/.