[Top][All Lists]

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

Re: ncurses compile problem

From: Thomas Dickey
Subject: Re: ncurses compile problem
Date: Wed, 17 Aug 2005 17:39:34 -0400 (EDT)

On Wed, 17 Aug 2005, Benjamin Foote wrote:


I'm having problems compiling ncurses.  The problem appears to be with

The error line is:
tic: symbol lookup error: tic: undefined symbol: _nc_check_termtype2

briefly: tic and infocmp use private symbols from the ncurses library.

Occasionally I add one to solve some problem in tic/infocmp that can't be done via the public symbols. The linker is finding the copy of ncurses that's already installed.

There are two workarounds (now that I'm thinking of it, I should embed the latter in progs/Makefile.in):

        a) install the libraries before compiling tic

           (old versions of tic generally work - the only exception that
           comes to mind was a packager who'd turned on memory-leak
           debugging in an rpm for general distribution - so I couldn't
           reuse that /usr/bin/tic).

        b) use the misc/shlib wrapper script to override $LD_LIBRARY_PATH
           so the link succeeds.

           That's generally portable - but you can still run into problems
           if you're using the rpath option.

I'm running Gentoo and have tried to seek support from the gentoo forums
but nobody seems to know what the problem (or solution) is.  Google has
come up short as well.

I only see this question 3-4 times a year...

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]