Subject: Re: ncurses (libtool?) problem
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Ben Collver <collver@peak.org>
List: tech-pkg
Date: 11/01/2004 13:15:47
On Mon, Nov 01, 2004 at 09:54:03PM +0100, Georg Schwarz wrote:
> What does it look like on other operating systems?
sanctum $ uname -a
NetBSD sanctum 1.6.2 NetBSD 1.6.2 (SANCTUM) #1: Sun Mar 14 06:59:50 PST 2004 root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
[...]
/usr/pkgsrc/devel/ncurses/work/.wrapper/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG -I/usr/pkgsrc/devel/ncurses/work/.buildlink/include -O2 -c . ./c++/cursesmain.cc -o cursesmain.o >/dev/null 2>&1
cd ../lib && /usr/pkgsrc/devel/ncurses/work/.wrapper/bin/libtool --tag=CXX --mode=link /usr/pkgsrc/devel/ncurses/work/.wrapper/bin/g++ -O2 -o libncurses++.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo ../obj_lo/cursesw.lo ../obj_lo/cursespa d.lo ../obj_lo/cursesp.lo ../obj_lo/cursslk.lo ../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo -rpath /usr/pkg/lib -version-info 5:4 -L../lib -lncurses
*** [buildlink3] Warning: libtool replaced -lncurses with ../lib/libncurses.la
g++ -shared -nostdlib /usr/lib/crtbeginS.o ../obj_lo/.libs/cursesf.o ../obj_lo/.libs/cursesm.o ../obj_lo/.libs/cursesw.o ../obj_lo/.libs/cursespad.o ../obj_lo/.libs/cursesp.o ../obj_lo/.libs/cursslk.o ../obj_lo/.libs/cursesapp.o ../obj_lo/.libs/cursesmain.o -Wl,--rpath -Wl,/usr/pkgsrc/devel/ncurses/work/ncurses-5.4/lib/.libs -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkgsrc/devel/ncurses/work/.buildlink/lib -L/usr/pkgsrc/devel/ncurses/work/ncurses-5.4/lib ../lib/.libs/libncurses.so -lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o -Wl,-soname -Wl,libncurses++.so.5 -o .libs/libncurses++.so.5.0.4
(cd .libs && rm -f libncurses++.so.5 && ln -s libncurses++.so.5.0.4 libncurses++.so.5)
(cd .libs && rm -f libncurses++.so && ln -s libncurses++.so.5.0.4 libncurses++.so)
ar cru .libs/libncurses++.a ../obj_lo/cursesf.o ../obj_lo/cursesm.o ../obj_lo/cursesw.o ../obj_lo/cursespad.o ../obj_lo/cursesp.o ../obj_lo/cursslk.o ../obj_lo/cursesapp.o ../obj_lo/cursesmain.o
ranlib .libs/libncurses++.a
creating libncurses++.la
(cd .libs && rm -f libncurses++.la && ln -s ../libncurses++.la libncurses++.la)