>Description:
<When trying to install or setup mysql running the script/mysql_install_db
--usr=mysql command
I get errors and says that my hostname cannot be resoved even though
hostname and uname shows
the hostname just fine and i can ping and talk back and forth with no
issues and yes the hostname
is in the /etc/hosts file. >
>How-To-Repeat:
<[/usr/local/mysql] $> scripts/mysql_install_db --user=mysql
exec(): 0509-036 Cannot load program ./bin/my_print_defaults because of the
following errors:
0509-130 Symbol resolution failed for my_print_defaults because:
0509-136 Symbol _isinf (number 54) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Neither host 'nmaeg2' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
mp2396_on_nmaeg2[/usr/local/mysql] $> hostname
nmaeg2 >
>Fix:
>Submitter-Id: <submitter ID>
>Originator: Mike Perugini/816-275-3626
>Organization:
>MySQL support: [email support | extended email support ]
>Synopsis: <cannot install mysql (one line)>
>Severity:
>Priority:
>Category: mysql
>Class:
>Release: mysql-4.1.12-standard (MySQL Community Edition - Standard (GPL))
>C compiler: C for AIX Compiler, Version 6
>C++ compiler: C for AIX Compiler, Version 6
>Environment:
System: AIX nmaeg2 1 5 000085404C00
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc
Compilation info: CC='xlc_r' CFLAGS='-ma -O2 -qstrict -qoptimize=2
-qmaxmem=8192' CXX='xlC_r' CXXFLAGS='-ma -O2 -qstrict -qoptimize=2
-qmaxmem=8192' LDFLAGS='' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 bin bin 19 Jun 09 14:20 /lib/libc.a ->
/usr/ccs/lib/libc.a
lrwxrwxrwx 1 bin bin 19 Jun 09 14:20 /usr/lib/libc.a ->
/usr/ccs/lib/libc.a
Configure command: ./configure '--prefix=/usr/local/mysql'
'--localstatedir=/usr/local/mysql/data' '--libexecdir=/usr/local/mysql/bin'
'--with-comment=MySQL Community Edition - Standard (GPL)'
'--with-extra-charsets=complex' '--with-server-suffix=-standard'
'--enable-thread-safe-client' '--enable-local-infile' '--with-named-z-libs=no'
'--disable-shared' '--with-readline' '--with-embedded-server'
'--with-archive-storage-engine' '--with-innodb' 'CC=xlc_r' 'CFLAGS=-ma -O2
-qstrict -qoptimize=2 -qmaxmem=8192' 'CXXFLAGS=-ma -O2 -qstrict -qoptimize=2
-qmaxmem=8192' 'CXX=xlC_r'
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]