From: KUBO Takehiro Date: 2008-06-30T23:44:47+09:00 Subject: Re: [ANN] ruby-oci8 1.0.2 Hi, On Mon, Jun 30, 2008 at 3:50 PM, Jesse Hu wrote: > Hi Kubo, > > I failed to install ruby-oci8 gem on Linux. > > Error msg: > > Building native extensions. This could take a while... > ERROR: Error installing ruby-oci8: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby extconf.rb install ruby-oci8 > checking for load library path... ./oraconf.rb:359: warning: Insecure world > writable dir /opt in PATH, mode 040777 > (LD_LIBRARY_PATH)... > (ld.so.conf)... not found > checking for cc... ok > checking for gcc... yes > checking for LP64... no > checking for ruby header... *** extconf.rb failed *** > Could not create Makefile due to some reason, probably lack of > necessary libraries and/or headers. Check the mkmf.log file for more > details. You may need configuration options. > My env: > ruby 1.8.6 > LD_LIBRARY_PATH=/usr/lib/oracle/11.1.0.1/client/lib Is it an instant client rpm package? I guess you didn't export LD_LIBRARY_PATH. To check it, could you try the gem in the following URL? http://www.jiubao.org/tmp/ruby-oci8-1.0.2.gem It prints more information on checking LD_LIBRARY_PATH. -- KUBO Takehiro kubo@jiubao.org