Bug 227 - зависимость от libreadline-devel ?
Summary: зависимость от libreadline-devel ?
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: MySQL-client (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-13 09:26 MSK by raVen
Modified: 2003-08-25 15:18 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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