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
<robe...@removethis.eu.org> wrote: > In article <5d847bcd0806290536r1282c9f2je0ea8dea17694...@mail.gmail.com>, > KUBO Takehiro <k...@jiubao.org> wrote: >> To make a pure ruby gems package: >> gem build ruby-oci8.gemspec
> That is looking very nice, thanks. Does that mean that I can install it on > MacOS X/Intel which has no Oracle native client/libraries?
No. It needs Oracle client libraries and a C compiler. I may confuse you. What should I refer to no-binary gem as?
On Mon, Jun 30, 2008 at 3:50 PM, Jesse Hu <yiz...@gmail.com> 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.
a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama
> Hi, > On Mon, Jun 30, 2008 at 3:50 PM, Jesse Hu <yiz...@gmail.com> 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 k...@jiubao.org