Skip to content

Instantly share code, notes, and snippets.

@jsierles
Created April 2, 2009 17:01
Show Gist options
  • Select an option

  • Save jsierles/89284 to your computer and use it in GitHub Desktop.

Select an option

Save jsierles/89284 to your computer and use it in GitHub Desktop.
/usr/local/bin/ruby extconf.rb install /tmp/ruby-libvirt-0.1.0.gem -- --with-_libvirt=/usr/lib
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-_libvirt-dir
--without-_libvirt-dir
--with-_libvirt-include
--without-_libvirt-include=${_libvirt-dir}/include
--with-_libvirt-lib
--without-_libvirt-lib=${_libvirt-dir}/lib
--with-libvirt-config
--without-libvirt-config
--with-pkg-config
--without-pkg-config
extconf.rb:16: libvirt not found (RuntimeError)
@Judy-China

Copy link
Copy Markdown

lack libvirt-devel package
yum install libvirt-devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment