bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0


From: Thomas Dickey
Subject: Re: ncurses-6.2-20200817: Error creating shared libraries on NetBSD 9.0
Date: Sat, 22 Aug 2020 14:27:20 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Aug 22, 2020 at 02:09:18PM -0400, Thomas Dickey wrote:
...
> In short, the difference has been there a while.  Perhaps the compiler
> (or supporting objects) changed over the past 21 years, or perhaps most
> developers use rpath.

That's one aspect (an improvement which might be helpful).

As usual, there's another "however".

In testing this change (not using rpath), my build script does an

        ldd test/ncurses

to see what the library dependencies really are.  That shows me

test/ncurses:
        -lform => /usr/lib/libform.so
        -lcurses.8 => /usr/lib/libcurses.so.8
        -lterminfo.1 => /usr/lib/libterminfo.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lmenu => /usr/lib/libmenu.so
        -lpanel => /usr/lib/libpanel.so
        -lncurses => not found
        -lutil.7 => /usr/lib/libutil.so.7
        -lm.0 => /usr/lib/libm.so.0

Of course ncurses isn't found (since NetBSD's configuration ignores
/usr/local), but those form, menu and panel libraries are the
(incompatible) system-provided libraries.  If you're not using
rpath (or modifying the system's search path for shared libraries),
it won't work properly on NetBSD.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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