Bug #1176: uninitialized constant Zlib::FFI after fresh ruby compilation
http://redmine.ruby-lang.org/issues/show/1176

Author: Fred Obermann
Status: Open, Priority: Normal
Category: core, Target version: 1.9.1
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] 

I just installed 1.9.1 onto Mandriva 2009 (Linux version 2.6.27.10-desktop-1mnb (qateam / titan.mandriva.com) (gcc version 4.3.2 (GCC) ))

 zlib is installed on the machine, details as follows:
   Version: 1.2.3-12mdv2009.0
   Currently installed version: 1.2.3-12mdv2009.0

Also installed is:
zlib1-devel - Header files and libraries for developing apps which will use zlib 
       Version: 1.2.3-12mdv2009.0
        Currently installed version: 1.2.3-12mdv2009.0
        Group: Development/C
        Architecture: i586
    Files:
        /usr/include/zconf.h
        /usr/include/zlib.h
        /usr/lib/dietlibc/lib-i386/libz.a
        /usr/lib/libz.a
        /usr/lib/libz.so
        /usr/share/doc/zlib1-devel
        /usr/share/doc/zlib1-devel/ChangeLog
        /usr/share/doc/zlib1-devel/README
        /usr/share/doc/zlib1-devel/algorithm.txt
        /usr/share/man/man3/zlib.3.lzma

Ran ./configure
Ran make 
Ran make install
Ran make clean
Ran ./configure
Ran make 
Ran make install
Ran gem install rails --source http://gems.rubyonrails.org

And this is what I got:

ERROR:  While executing gem ... (NameError)
    uninitialized constant Zlib::FFI


----------------------------------------
http://redmine.ruby-lang.org