Instaluję na serwerze demona mysql, który wymaga libaio-dev. Zainstalowałem go, ale nic to nie pomogło. Nadal cmake mi krzyczy, że go potrzebuje. Jak odświeżyć listę zainstalowanych bibliotek nie restartując serwera?
Edycja:
Kod: Zaznacz cały
root@debian:mysql-build> cmake ../mysql-src/ -DBUILD_CONFIG=mysql_release -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DCMAKE_INSTALL_PREFIX=/opt/mysql -DMYSQL_DATADIR=/opt/mysql/var/lib -DSYSCONFIGDIR=/opt/mysql/etc
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at cmake/build_configurations/mysql_release.cmake:126 (MESSAGE):
aio is required on Linux, you need to install the required library:
Debian/Ubuntu: apt-get install libaio-dev
RedHat/Fedora/Oracle Linux: yum install libaio-devel
SuSE: zypper install libaio-devel
If you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.
Call Stack (most recent call first):
CMakeLists.txt:85 (INCLUDE)
-- Configuring incomplete, errors occurred!Kod: Zaznacz cały
root@debian:mysql-build> aptitude show libaio-dev
Package: libaio-dev
New: yes
State: installed
Automatically installed: no
Version: 0.3.107-7
Priority: extra
Section: libdevel
Maintainer: Guillem Jover <guillem@debian.org>
Uncompressed Size: 172 k
Depends: libaio1 (= 0.3.107-7)
Description: Linux kernel AIO access library - development files
This library enables userspace to use Linux kernel asynchronous I/O
system calls, important for the performance of databases and other
advanced applications.Do skasowania. Trzeba było wykasować pliki z pamięci podręcznej, które cmake mi stworzył w katalogu mysql-build.