Problema ao instalar o MySQL a partir de binários

2
Então, eu sou um calouro na Ciência da Computação, e eu cavei um computador antigo da minha garagem para usar como um servidor de hospedagem pessoal para vários serviços (e-mail, site, subversão, etc.), em parte porque eu realmente precisa dessas coisas e parcialmente para a experiência de aprendizado.

WOPR (adereços se você receber a referência) é um Dell Dimension de 10 anos ou mais com 256 MB de RAM e um processador Intel Pentium III de 500 MHz. Está executando o Arch Linux 2010.05 (kernel 2.6.33); Eu fiz o download dos binários do MySQL de aqui agora e tentei instalar.

Estou seguindo este procedimento a partir dos documentos do MySQL:

    shell> groupadd mysql
    shell> useradd -r -g mysql mysql
    shell> cd /usr/local
    shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
    shell> ln -s full-path-to-mysql-VERSION-OS mysql
    shell> cd mysql
    shell> chown -R mysql .
    shell> chgrp -R mysql .
    shell> scripts/mysql_install_db --user=mysql
    shell> chown -R root .
    shell> chown -R mysql data
    shell> cp support-files/my-medium.cnf /etc/my.cnf
    shell> bin/mysqld_safe --user=mysql &
    shell> cp support-files/mysql.server /etc/init.d/mysql.server

Eu recebo as seguintes mensagens:

WARNING: The host 'WOPR' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 %

compatible with this binary MySQL version. The MySQL daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MySQL privileges ! Installing MySQL system tables... ./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the ./bin/mysqlbug script!

Eu tenho o glibc instalado a partir da versão mais recente do Arch. Alguém sabe o que é libaio.so.1, de que pacote vem e quais são suas dependências?

    
por SirTasty 13.08.2011 / 04:52

1 resposta

3

Tente instalar o libaio no AUR:

aurbuild -s libaio
    
por 13.08.2011 / 05:25