[Top][All Lists]

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

Re: acs_map symbol

From: Thomas Dickey
Subject: Re: acs_map symbol
Date: Tue, 28 Apr 2015 21:15:50 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Apr 29, 2015 at 12:39:02AM +0000, address@hidden wrote:
> Hi,
> Linux "make menuconfig" fails due to a linking issue.
> (I have a  _split_ shared ncursesw library, version 5.9.20150425)
> Linux uses pkg-config for its menuconfig linking flags. And I get a missing
> libtinfow due to the symbol acs_map.
> After little investigation:
>   - the acs_map symbol is defined in ncurses.h.
>   - the linker expect to find the libtinfow library in its argument list 
> because of acs_map symbol.
>   - pkg-config does not output the libtinfow linker flags because it's in the 
> "private" section of ncursesw.pc.
> It seems that in ncursesw.pc, libtinfow dependency should be delared in the 
> Require field and not he Require.private field.
> That, to output libtinfow linker flags for any application linking to the 
> ncursesw package.
> Do I miss anything?

hmm - maybe, maybe not.  The feature was from this change:

        + modify misc/gen-pkgconfig.in to use Requires.private for the parts
          of ncurses rather than Requires, as well as Libs.private for the
          other library dependencies (prompted by Debian #644728).

I'd likely overlooked this because (to avoid interfering with Debian's
packages) have generally put my test-libraries in /usr/local, and used
rpath to help that.  However I might have stumbled over it "soon" since
I'm in the process of reworking the test-package to put it in /usr (and
not need rpath...).

I'm puzzled why you've run into this problem at this point in time (unless
it's some issue with the way my reworking is progressing...)

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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