textproc/hunspell build failure following 20130904

John Marino freebsd.contact at marino.st
Thu Sep 12 20:45:46 UTC 2013


On 9/12/2013 22:36, Anton Shterenlikht wrote:
> /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
> 
> I've rebuilt ncurses and readline successfully already.

What library does the cbreak symbol belong to?
you need to add it to the linker flags.  (e.g. LDFLAGS+=
-L${LOCALBASE}/lib -lmylib )

Invalid DSO normally means the symbol is in another library and the
linker is not going to recursively search for it.

John


More information about the freebsd-ports mailing list