Bug 227

Summary: зависимость от libreadline-devel ?
Product: Sisyphus Reporter: raVen <raven98>
Component: MySQL-clientAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4 CC: mike, nickel, rider, shaba
Version: unstable   
Hardware: all   
OS: Linux   

Description raVen 2001-12-13 09:26:58 MSK
rpm --rebuild MySQL-3.23.45-alt1.src.rpm

c++ -O3 -DDBUG_OFF -pipe -Wall -O9 -fexpensive-optimizations -march=athlon
-fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -DHAVE_ERRNO_AS_DEFINE
-fno-implicit-templates -fno-exceptions -fno_rtti -rdynamic -o .libs/mysql
mysql.o readline.o sql_string.o completion_hash.o -lreadline -lncurses
../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -Wl,--rpath
-Wl,usr/lib/mysql

/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make[2]: ***[mysql] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/mysql-3.23.45/client\'
make[1]: ***[all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/mysql-3.23.45\'
make: ***[all-recursive-am] Error 2

---

---
В системе не было пакета libreadline-devel. Ребилд пошел после его установки.

Стоит добавить libreadline-devel в build requires?
Comment 1 Dmitry V. Levin 2001-12-13 19:14:57 MSK
Fixed in MySQL-3.23.46-alt2
Comment 2 Dmitry V. Levin 2001-12-13 19:14:57 MSK
Fixed in MySQL-3.23.46-alt2