Subject: mysql4 doesn't build on Slackware 10.0
To: None <tech-pkg@netbsd.org>
From: Jolan Luff <jolan@protection.cx>
List: tech-pkg
Date: 09/15/2004 11:10:10
Hi,
I'm trying to build mysql4-server on Slackware 10.0, but I get the
following error:
make[2]: Entering directory
`/usr/pkgsrc/databases/mysql4-client/work/mysql-4.0.20/client'
/bin/sh ../libtool --preserve-dup-deps --mode=link g++ -O3
-DDBUG_OFF -O2 -I/usr/include -fno-implicit-templates
-fno-exceptions -fno-rtti -Wl,-R/usr/local/lib/mysql -L/usr/lib
-Wl,-R/usr/lib -Wl,-R/usr/local/lib -rdynamic -o mysql mysql.o
readline.o sql_string.o completion_hash.o -lreadline -lcurses
-ltermcap ../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm
-L/usr/lib -lssl -lcrypto
g++ -O3 -DDBUG_OFF -O2 -fno-implicit-templates -fno-exceptions
-fno-rtti -Wl,-R/usr/local/lib/mysql -Wl,-R/usr/local/lib -rdynamic
-o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o
../libmysql/.libs/libmysqlclient.so
-L/usr/pkgsrc/databases/mysql4-client/work/.buildlink/lib -lreadline
-lcurses -ltermcap -lz -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/lib/mysql
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
cannot find -ltermcap
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory
`/usr/pkgsrc/databases/mysql4-client/work/mysql-4.0.20/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/pkgsrc/databases/mysql4-client/work/mysql-4.0.20'
make: *** [all] Error 2
*** Error code 2
$ ldconfig -p |grep termcap
libtermcap.so.2 (libc6) => /lib/libtermcap.so.2
I don't see why it can't find the termcap library. Any ideas?