Bug 220998 - devel/readline: Linked with ncurses from base, even ncurses from ports installed
Summary: devel/readline: Linked with ncurses from base, even ncurses from ports installed
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-25 09:21 UTC by Oleh Hushchenkov
Modified: 2018-02-06 20:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2017-07-25 09:21:27 UTC
This cause a trouble, if port dependent on readline require ncurses and ncurses from ports installed. Ports dependent on readline, linked with both base and ports ncurses.

# ldd /usr/local/lib/libreadline.so.7
/usr/local/lib/libreadline.so.7:
        libncursesw.so.8 => /lib/libncursesw.so.8 (0x801251000)
        libc.so.7 => /lib/libc.so.7 (0x800824000)

Example devel/tig:
# ldd /usr/local/bin/tig
/usr/local/bin/tig:
        libreadline.so.7 => /usr/local/lib/libreadline.so.7 (0x800861000)
    >   libncursesw.so.6 => /usr/local/lib/libncursesw.so.6 (0x800ab2000)
        libtinfow.so.6 => /usr/local/lib/libtinfow.so.6 (0x800ce4000)
        libc.so.7 => /lib/libc.so.7 (0x800f1d000)
    >   libncursesw.so.8 => /lib/libncursesw.so.8 (0x8012d5000)

See ^ this.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-02-06 20:36:50 UTC
ping!