Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: editors/Sigil vs. binutils-2.23



On Sun, Oct 13, 2013 at 01:30:35AM +0400, Valery Ushakov wrote:
> This (quoted earlier) looks highly suspicious:
> 
>   /usr/lib/libpthread.so.1: could not read symbols: Invalid operation

ld(1) does that in netbsd-current whenever the no-copy-dt-needed thing hits
and it ends up with an unresolved symbol due to it, even with the test program
I posted:

ld: /var/tmp//ccOqgMJW.o: undefined reference to symbol 'termname'
ld: note: 'termname' is defined in DSO /usr/lib/libterminfo.so.1 so try adding 
it to the linker command line
/usr/lib/libterminfo.so.1: could not read symbols: Invalid operation

The last line is highly misguiding. With -lterminfo added to the command line,
it goes away (so /usr/lib/libterminfo.so.1 is fine).

Martin


Home | Main Index | Thread Index | Old Index