Назад | Перейти на главную страницу

Ошибка установки php-libvirt на centos

Я пытаюсь установить php-libvirt на centos 6.4 64x и на шаге ./configure есть ошибка:

checking for LIBVIRT... configure: error: Package requirements (libvirt >= 0.6.2) were not met:

No package 'libvirt' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVIRT_CFLAGS
and LIBVIRT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

В libvirt уже установлен, и информация:

Name        : libvirt
Arch        : x86_64
Version     : 1.0.3
Release     : 1.el6
Size        : 0.0  
Repo        : installed
From repo   : kernel-xen
Summary     : Library providing a simple virtualization API
URL         : http://libvirt.org/
License     : LGPLv2+
Description : Libvirt is a C toolkit to interact with the virtualization
            : capabilities of recent versions of Linux (and other OSes). The
            : main package includes the libvirtd server exporting the
            : virtualization support.

Где ошибка?

Заранее спасибо!

Вероятно, он проверяет наличие файлов разработки библиотеки libvirt. Стандартная версия показана ниже, поскольку вы собираете свою собственную, проверьте, построили ли вы ее.


Name        : libvirt-devel
Arch        : x86_64
Version     : 0.10.2
Release     : 18.el6_4.4
Size        : 862 k
Repo        : updates
Summary     : Libraries, includes, etc. to compile with the libvirt library
URL         : http://libvirt.org/
License     : LGPLv2+
Description : Includes and documentations for the C library providing an API to use
            : the virtualization capabilities of recent versions of Linux (and other OSes).