pkgsrc-Users archive

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

Re: cmake needs -ltinfo on Linux



On Wed, Jun 10, 2020 at 11:13:58AM +0000, adr wrote:
> Hello,
> 
> cmake needs
> 
> LDFLAGS.Linux+=         -ltinfo
> 
> /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/9.3.0/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: CMakeFiles/ccmake.dir/ccmake.cxx.o: undefined reference to symbol 'keypad'
> /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/9.3.0/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: /lib/libtinfo.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> 
> P.S. I'm using the mailing list because these errors are trivial, but if you want I will use the PR system.
> 
> Regards,
> adr.

This isn't really trivial, it's worth investigating why the library
is not being added in the first place rather than hacking around it.


Home | Main Index | Thread Index | Old Index