Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 19:11:43 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        ports@freebsd.org
Subject:   Inconsistency with libtinfow.so
Message-ID:  <522F52CF.9070506@gwdg.de>

next in thread | raw e-mail | index | archive | help
After updating 10.0-CURRENT to r255449 (no base gcc, no libstdc++ any
more) I am right in the middle of updating my installed ports. Because
of this I first deinstalled converters/libiconv before updating any
other port.

I am wondering if I am the only one who has problems with coexistence of
libtinfow.so in devel/ncurses and systems libtinfow.so? For example if I
try to update textproc/hunspell, it complains about

[...]
/bin/sh ../../libtool --tag=CXX    --mode=link c++  -O2 -pipe
-fno-strict-aliasing   -Wl,-rpath=/usr/local/lib -L/usr/local/lib
-lreadline -o hunspell hunspell.o ../parsers/libparsers.a
../hunspell/libhunspell-1.3.la -lncursesw -lreadline -lncurses
libtool: link: c++ -O2 -pipe -fno-strict-aliasing
-Wl,-rpath=/usr/local/lib -o .libs/hunspell hunspell.o  -L/usr/local/lib
../parsers/libparsers.a ../hunspell/.libs/libhunspell-1.3.so -lncursesw
-lreadline -lncurses -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: /: invalid DSO for symbol `cbreak' definition
/usr/local/lib/libtinfow.so.5.9: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [hunspell] Error code 1
make[4]: stopped in
/usr/ports/textproc/hunspell/work/hunspell-1.3.2/src/tools
1 error

This problem also occurs at least with textproc/aspell, security/clamav,
sysutils/libcdio and multimedia/vcdimager.

There are two different versions of libtinfow.so on my box:
/usr/lib/libtinfow.so
/usr/local/lib/libtinfow.so.5.9

If I (temporarily) deinstall the dependency devel/ncurses, I am able to
build and reinstall hunspell and the other mentioned ports. Of course,
ncurses was updated before hunspell.

Any clue what is going on here? I did not have this problem before
updating base.

Thanks in advance,
Rainer Hurling



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522F52CF.9070506>