[16275] in Kerberos-V5-bugs
Re: [krbdev.mit.edu #8795] configure: chech for libncursesw,
daemon@ATHENA.MIT.EDU (Pierre Labastie via RT)
Fri Apr 12 16:24:43 2019
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: Pierre Labastie via RT <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8795@krbdev.mit.edu>
Message-ID: <rt-8795-49370.14.8041202599595@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8795'":;
Date: Fri, 12 Apr 2019 16:24:22 -0400
MIME-Version: 1.0
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
Content-Type: multipart/mixed; boundary="===============8319074881444943587=="
Errors-To: krb5-bugs-bounces@mit.edu
--===============8319074881444943587==
Content-Type: text/plain
On 12/04/2019 20:08, Дилян Палаузов via RT wrote:
> Hello,
>
> it is a “Linux from Scratchâ€.
>
> Regards
> ДилÑн
>
> On Fri, 2019-04-12 at 13:03 -0400, Greg Hudson via RT wrote:
>> What platform does this problem apply to?
>>
>> Ideally I'd like to use pkg-config here, but I don't think readline
>> provides a pkg-config file.
>>
>> Alternatively, we could eliminate the -lncurses (and possibly -lhistory
>> since I think we don't use it directly) and just assume that the
>> platform has functional library dependencies and a shared libreadline.
>
>
sorry to jump in, but I think linux from scratch has libncurses.so pointing to
libncursesw.so. Exactly, they do:
for lib in ncurses form panel menu ; do
rm -vf /usr/lib/lib${lib}.so
echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc
done
So libncurses.so is a linker script, and passing -lncurses is equivalent to
passing -lncursesw.
Now, whether krb5 configure should use a different method is another story.
Pierre Labastie
--===============8319074881444943587==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
--===============8319074881444943587==--