From: "alexharv074 (Alex Harvey)" Date: 2012-11-05T21:51:22+09:00 Subject: [ruby-core:48909] [Ruby 1.8 - Bug #7279][Open] Zlib load error on HP-UX Issue #7279 has been reported by alexharv074 (Alex Harvey). ---------------------------------------- Bug #7279: Zlib load error on HP-UX https://bugs.ruby-lang.org/issues/7279 Author: alexharv074 (Alex Harvey) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.8.7 (2012-06-29 patchlevel 370) [hppa2.0w-hpux11.11] This was apparently a known issue on HP-UX and it is preventing me from compiling zlib http://www.ruby-forum.com/topic/191987 To reproduce - PA-RISC/HP-UX 11.11
# swlist
...
  gcc                                   4.2.3          gcc
  libgcc                                4.2.3          libgcc
  m4                                    1.4.16         m4
  make                                  3.82           make
# /usr/local/bin/ruby extconf.rb --with-zlib-include=/usr/local/include --with-zlib-lib=/usr/local/lib
checking for deflateReset() in -lz... no
checking for deflateReset() in -llibz... no
checking for deflateReset() in -lzlib1... no
checking for deflateReset() in -lzlib... no
checking for deflateReset() in -lzdll... no
# file /usr/local/lib/libz.sl
/usr/local/lib/libz.sl: PA-RISC1.1 shared library
# file /usr/local/include/zlib.h
/usr/local/include/zlib.h:      c program text
I have attached the mkmf.log. -- http://bugs.ruby-lang.org/