Subject: pkgsrc on Solaris: mutt doesn't link
To: None <tech-pkg@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-pkg
Date: 03/12/2007 14:41:51
Hi
mutt doesn't link on Solaris 8, see below.
Any idea what's wrong?
-is
...
=> Fixing mutt to avoid ncursesw
===> Creating toolchain wrappers for mutt-1.4.2.2nb3
===> Configuring for mutt-1.4.2.2nb3
=> Modifying GNU configure scripts to avoid --recheck
...
ocket -lnsl
Undefined first referenced
symbol in file
initscr32 main.o
w32addch curs_lib.o
w32attrset compose.o
acs32map menu.o
getcurx curs_lib.o
getcury curs_lib.o
ld: fatal: Symbol referencing errors. No output written to mutt
collect2: ld returned 1 exit status
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/local/src/pkgsrc/mail/mutt/work/.gcc/bin/gcc -Wall -pedantic -O -I/usr/loca
l/src/pkgsrc/mail/mutt/work/.buildlink/include -s -L/usr/local/src/pkgsrc/mail/m
utt/work/.buildlink/lib -Wl,-R/usr/local/pkg0/lib -o mutt patchlist.o addrbook.o
alias.o attach.o base64.o browser.o buffy.o color.o commands.o complete.o compo
se.o copy.o curs_lib.o curs_main.o date.o edit.o enter.o flags.o init.o filter.o
from.o getdomain.o handler.o hash.o hdrline.o headers.o help.o hook.o keymap.o
main.o mbox.o menu.o mh.o mx.o pager.o parse.o pattern.o postpone.o query.o recv
attach.o recvcmd.o rfc822.o rfc1524.o rfc2047.o rfc2231.o score.o send.o sendlib
.o signal.o sort.o status.o system.o thread.o charset.o history.o lib.o muttlib.
o editmsg.o utf8.o mbyte.o wcwidth.o url.o ascii.o pgp.o pgpinvoke.o pgpkey.o pg
plib.o gnupgparse.o pgpmicalg.o pgppacket.o dotlock.o pop.o pop_lib.o pop_auth.o
account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o md5c.o -Limap -limap -lncurses
-lssl -lcrypto -lintl -liconv -lsocket -lnsl
*** Error code 1