Date: Fri, 11 Oct 2013 07:05:56 +0200 From: Marc "UBM" Bocklet <ubm@u-boot-man.de> To: current@freebsd.org Cc: agh@fastmail.fm Subject: Re: /usr/local/lib /usr/bin/ld: =?ISO-8859-1?Q?=F8:?= invalid DSO for symbol Message-ID: <20131011070556.e31c63fce9d60266c23bda9e@u-boot-man.de> In-Reply-To: <20131010215855.GA90129@direwolf.aux.io> References: <20131010215148.6d4e724952052b8833133264@gmail.com> <20131010215855.GA90129@direwolf.aux.io>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Oct 2013 05:58:56 +0800 Alastair Hogge <agh@fastmail.fm> wrote: > On 2013-10-10 Thu 21:51:48 +0200, Marc UBM wrote: > > > > Hiho! :-) >=20 > Hi >=20 > > Trying to compile several ports in the wake of the recent iconv change > > yields the following error that I could not get rid of yet: > > > > ---- > > libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall > > -I/usr/local/include -Wl,-rpath=3D/usr/local/lib > > -Wl,-rpath=3D/usr/local/lib -o irssi gui-entry.o gui-expandos.o > > gui-printtext.o gui-readline.o gui-windows.o lastlog.o mainwindows.o > > mainwindow-activity.o mainwindows-layout.o statusbar.o > > statusbar-config.o statusbar-items.o term.o term-dummy.o tparm.o > > term-terminfo.o terminfo-core.o textbuffer.o textbuffer-commands.o > > textbuffer-view.o irssi.o module-formats.o > > -Wl,-R/usr/local/lib/perl5/5.14/mach/CORE -pthread -Wl,-E > > -fstack-protector -Wl,--export-dynamic -pthread > > -Wl,--export-dynamic ../fe-common/irc/libfe_common_irc.a ../fe-common/= irc/dcc/libfe_irc_dcc.a ../fe-common/irc/notifylist/libfe_irc_notifylist.a = ../fe-common/core/libfe_common_core.a ../irc/libirc.a ../irc/core/libirc_co= re.a ../irc/dcc/libirc_dcc.a ../irc/flood/libirc_flood.a ../irc/notifylist/= libirc_notifylist.a ../core/libcore.a ../lib-config/libirssi_config.a ../pe= rl/.libs/libperl_core_static.a ../perl/.libs/libfe_perl_static.a > > -L/usr/local/lib -L/usr/local/lib/perl5/5.14/mach/CORE -lperl -lm > > -lcrypt > > -lutil /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so /= usr/local/lib/libpcre.so /usr/local/lib/libintl.so > > -lssl -lcrypto -lncurses -pthread -Wl,-rpath -Wl,/usr/local/lib > > -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld: =F8: invalid DSO for symbol > > `tgetnum' definition /usr/local/lib/libtinfo.so.5.9: could not read > > symbols: Bad value > > ---- > > > > > > Any ideas how to solve that one / if I am doing something wrong? >=20 > Add the following to the offending ports' Makefile (I am upto 6): > LDFLAGS+=3D -ltinfow That worked perfectly, going to try it out on the other six offenders thus evening. Thanks a lot! Bye Marc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131011070556.e31c63fce9d60266c23bda9e>