Just use this pkgbuild to fix it! # $Id: PKGBUILD,v 1.16 2005/10/26 21:41:58 judd Exp $ # Maintainer: judd <jvinet@zeroflux.org> pkgname=ncurses pkgver=5.5 pkgrel=2 pkgdesc="A System V Release 4.0 curses emulation library" url="http://www.gnu.org/software/ncurses/ncurses.html" depends=('glibc') install=ncurses.install source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('e73c1ac10b4bfc46db43b2ddfd6244ef') build() { # The chtype/mmask-t settings below are to retain ABI compat # with ncurses-5.4 so dont change em ! cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --with-shared --with-normal --without-debug --without-ada \ --with-install-prefix=$startdir/pkg \ --with-chtype='long' --with-mmask-t='long' make || return 1 make install mkdir -p $startdir/pkg/lib cd $startdir/pkg/usr/lib mv libncurses.so.$pkgver ../../lib ln -sf ../../lib/libncurses.so.$pkgver libncurses.so.$pkgver cd $startdir/pkg/lib ln -sf libncurses.so.$pkgver libncurses.so.5 rm -f $startdir/pkg/lib/libcurses.so # build unicode support libs cd $startdir/src/$pkgname-$pkgver make clean ./configure --prefix=/usr \ --with-shared --with-normal --without-debug --without-ada \ --with-install-prefix=$startdir/pkg --enable-widec \ --with-chtype='long' --with-mmask-t='long' make || return 1 make install }