Bug #4265 | icc build will not su to mysql user when starting | ||
---|---|---|---|
Submitted: | 23 Jun 2004 23:30 | Modified: | 5 Aug 2004 15:43 |
Reporter: | Matthew Lord | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4,0.20 | OS: | x86 linux |
Assigned to: | CPU Architecture: | Any |
[23 Jun 2004 23:30]
Matthew Lord
[5 Aug 2004 15:19]
Carlos Uldérico Cirello Filho
I've managed to workaround the startup problem by hand on Linux (RH 9). I assume that you've symlinked ou copied the '/usr/local/mysql-VERSION/support-files/mysql.server' to '/etc/init.d/mysql'. I assume, also, that you have an user named 'mysql' in your system. su -c "/etc/init.d/mysql start' mysql
[5 Aug 2004 15:43]
Guilhem Bichot
Duplicate of http://bugs.mysql.com/4408 The fact that resolveip is also affected can be explained: see those warnings when compiling: mysqld.o(.text+0x1193):/home/mysql_src/mysql-4.0/sql/mysqld.cc:1045: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking <cut> /home/mysql_src/mysql-4.0/sql/mysqld.cc:4893: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking icc is not responsible for that. The same happens when we test a binary built with gcc on the same machine. It's apparently a question of glibc incompatibility, and we have no fix yet.