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

From: Marc <ubm_at_u-boot-man.de>
Date: Fri, 11 Oct 2013 07:05:56 +0200
On Fri, 11 Oct 2013 05:58:56 +0800
Alastair Hogge <agh_at_fastmail.fm> wrote:

> 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

That worked perfectly, going to try it out on the other six offenders
thus evening. Thanks a lot!

Bye
Marc
Received on Fri Oct 11 2013 - 03:30:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC