Bug 227 - зависимость от libreadline-devel ?
: зависимость от libreadline-devel ?
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/MySQL-client)
: unstable
: all Linux
: P4 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2001-12-13 09:26 by
Modified: 2003-08-25 15:18 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2001-12-13 09:26:58
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 From 2001-12-13 19:14:57 -------
Fixed in MySQL-3.23.46-alt2
------- Comment #2 From 2001-12-13 19:14:57 -------
Fixed in MySQL-3.23.46-alt2