/usr/local/lib /usr/bin/ld: ø: invalid DSO for symbol

Alastair Hogge agh at fastmail.fm
Thu Oct 10 21:59:11 UTC 2013


On 2013-10-10 Thu 21:51:48 +0200, Marc UBM wrote:
>
> Hiho! :-)

Hi

> 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=/usr/local/lib
> -Wl,-rpath=/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_core.a ../irc/dcc/libirc_dcc.a ../irc/flood/libirc_flood.a ../irc/notifylist/libirc_notifylist.a ../core/libcore.a ../lib-config/libirssi_config.a ../perl/.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: ø: 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?

Add the following to the offending ports' Makefile (I am upto 6):
LDFLAGS+=     -ltinfow

> Bye
> Marc

Salud
alastair
--
Imagine there's no heaven... it's easy if you try.
		-- John Lennon, "Imagine"


More information about the freebsd-current mailing list