Bug #43718 mysql 5.1.30 at fedora10 x86-64 make error!
Submitted: 18 Mar 2009 4:31 Modified: 7 Dec 2016 13:56
Reporter: Kevin U Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Installing Severity:S1 (Critical)
Version:mysql 5.1.30, 5.1.32 OS:Linux (fedora10x86-64)
Assigned to: CPU Architecture:Any
Tags: make error

[18 Mar 2009 4:31] Kevin U
Description:
../libmysql/.libs/libmysqlclient.a(libmysql.o): In function `mysql_server_init':
libmysql.c:(.text+0x416d): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_echotc':
term.c:(.text+0x7cf): undefined reference to `tgetstr'
term.c:(.text+0x822): undefined reference to `tputs'
term.c:(.text+0x920): undefined reference to `tgoto'
term.c:(.text+0x932): undefined reference to `tputs'
term.c:(.text+0x9f1): undefined reference to `tgoto'
term.c:(.text+0xa00): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_deletechars':
term.c:(.text+0xb15): undefined reference to `tgoto'
term.c:(.text+0xb56): undefined reference to `tputs'
term.c:(.text+0xb9b): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_clear_screen':
term.c:(.text+0xf88): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_insertwrite':
term.c:(.text+0x120c): undefined reference to `tputs'
term.c:(.text+0x1253): undefined reference to `tputs'
term.c:(.text+0x12b5): undefined reference to `tgoto'
term.c:(.text+0x12c4): undefined reference to `tputs'
term.c:(.text+0x12f8): undefined reference to `tputs'
term.c:(.text+0x135b): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_set':
term.c:(.text+0x24b7): undefined reference to `tgetent'
term.c:(.text+0x24db): undefined reference to `tgetflag'
term.c:(.text+0x24ee): undefined reference to `tgetflag'
term.c:(.text+0x2502): undefined reference to `tgetflag'
term.c:(.text+0x2516): undefined reference to `tgetflag'
term.c:(.text+0x252a): undefined reference to `tgetflag'
../cmd-line-utils/libedit/libedit.a(term.o):term.c:(.text+0x253e): more undefined references to `tgetflag' follow
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_set':
term.c:(.text+0x2552): undefined reference to `tgetnum'
term.c:(.text+0x2566): undefined reference to `tgetnum'
term.c:(.text+0x258d): undefined reference to `tgetstr'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_move_to_char':
term.c:(.text+0x2cfd): undefined reference to `tgoto'
term.c:(.text+0x2d0c): undefined reference to `tputs'
term.c:(.text+0x2d1c): undefined reference to `tgoto'
term.c:(.text+0x2d2c): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_move_to_line':
term.c:(.text+0x2e65): undefined reference to `tgoto'
term.c:(.text+0x2e74): undefined reference to `tputs'
term.c:(.text+0x2f6e): undefined reference to `tgoto'
term.c:(.text+0x2f7e): undefined reference to `tputs'
term.c:(.text+0x2ff1): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_deletechars':
term.c:(.text+0xb32): undefined reference to `tputs'
term.c:(.text+0xb89): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_beep':
term.c:(.text+0xefb): undefined reference to `tputs'
../cmd-line-utils/libedit/libedit.a(term.o):term.c:(.text+0xf71): more undefined references to `tputs' follow
collect2: ld returned 1 exit status
make[2]: *** [mysql] 错误 1
make[2]: Leaving directory `/usr/local/src/lampsource/mysql-5.1.30/client'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/local/src/lampsource/mysql-5.1.30/client'
make: *** [all-recursive] 错误 1

How to repeat:
I don't know what to do.
[18 Mar 2009 6:38] Sveta Smirnova
Thank you for the report.

But version 5.1.30 is a bit old. Please try with current version 5.1.32 and if problem still exists provide your configure options.
[19 Mar 2009 9:18] Kevin U
I change to mysql 5.1.30 get some error.this is my configure options.thank you.

./configure --prefix=/usr/local/databases/mysql --with-charset=gbk --with-extra-charsets=gb2312,big5 --enable-thread-safe-client --enable-local-infile --enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --without-debug
[19 Mar 2009 9:19] Kevin U
I change to mysql 5.1.32 get some error.this is my configure options.thank you.

./configure --prefix=/usr/local/databases/mysql --with-charset=gbk
--with-extra-charsets=gb2312,big5 --enable-thread-safe-client --enable-local-infile
--enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static
--without-debug
[19 Mar 2009 10:32] Sveta Smirnova
Thank you for the feedback.

I still can not repeat described behavior. Additionally error messages show you have problem with curses library. Please check if you have up to date curses library. Use configure option  --with-named-curses-libs if needed.
[19 Apr 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[7 Dec 2016 13:56] Terje Røsten
Posted by developer:
 
Packages from MySQL Repos for Fedora don't have this.