resolveip 프로그램이 실행되면서 사용하는 라이브러리를 찾지 못하기 때문에 발생하는 에러인 것 같습니다. 수동으로 resoveip 라는 명령어를 실행해 보시고 어떤 라이브러리를 찾으며, 그 라이브러리가 어디 있는 지 확인해 보시고, 그라이브러리의 path 를 /etc/ld.so.conf 에 등록시킨 후 다시 시도해 보는 것도 한 방법일 것 같습니다.
> mysql_install_db를 아래와 같이 실행하면 error가 발생 합니다.
> ------------------------------------------------------------
> # scripts/mysql_install_db
> scripts/mysql_install_db: 1927 Killed
> scripts/mysql_install_db: 1928 Killed
> WARNING: Your libc libraries are not 100 % compatible with this MySQL
> version
> mysqld should work normally with the exception that host name resolvin
> g
> will not work. This means that you should use IP addresses instead
> of hostnames when specifying MySQL privileges !
> Creating db table
> Creating host table
> Creating user table
> Creating func table
> Creating tables_priv table
> Creating columns_priv table
> dynamic linker : ./bin/mysqld : error opening libz.so
> scripts/mysql_install_db: 1929 Killed
> Installation of grant tables failed!
>
> Examine the logs in ./data for more information.
> You can also try to start the mysqld demon with:
> ./bin/mysqld --skip-grant &
> You can use the command line tool
> ./bin/mysql to connect to the mysql
> database and look at the grant tables:
> .
> .
> .
>
> mysql_install_db의 문제가 되는 부분입니다.
> ---------------------------------------------------------------------
>
> # On IRIX hostname is in /usr/bsd so add this to the path
> PATH=$PATH:/usr/bsd
> hostname=`hostname` # Install this too in the user table
>
> # Check if hostname is valid
> if test "$IN_RPM" -eq 0 -a $force -eq 0
> then
> resolved=`$bindir/resolveip $hostname 2>&1`
> if [ $? -ne 0 ]
> then
> resolved=`$bindir/resolveip localhost 2>&1`
> if [ $? -eq 0 ]
> then
> echo "Sorry, the host '$hostname' could not be looked up."
> echo "Please configure the 'hostname' command to return a correc
> t hostname
> ."
> echo "If you want to solve this at a later stage, restart this s
> cript with
> "
> echo "the --force option"
> exit 1
> fi
> echo "WARNING: Your libc libraries are not 100 % compatible with t
> his MySQL
> version"
> echo "mysqld should work normally with the exception that host nam
> e resolvin
> g"
> echo "will not work. This means that you should use IP addresses
> instead"
> echo "of hostnames when specifying MySQL privileges !"
> fi
> fi
> .
> .
> .
>
> =============================================================
>
> resolveip 가 실행되면서
> dynamic linker : ./bin/resolveip :error opening libz.so
> 와 같은 error가 발생하는데 여기에 원인이 있는거 같습니다.
>
> mysql은 binary을 다운받아서 설치 했습니다.
>
> 고수님의 고견을 부탁합니다.
>
|