#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by ryandesign@…): You shouldn't reactivate ncurses @5.9. Everything needs to be using ncurses @6.0 now. For the most part, MacPorts should handle that upgrade for you, except for the issues outlined in ProblemHotlist#ncurses6. Your main1.log shows exactly that scenario, for which the solution is to upgrade readline first. But your earlier transcript shows you running `sudo port install readline` and nothing happening, meaning readline was already up to date. Have you previously been reactivating ncurses @5.9? If so, links to libncurses.5 may have crept into any ports you rebuilt thereafter, thus in some part defeating the purpose of the rebuild. Make sure your ports are up to date with `sudo port selfupdate`. Verify ncurses @6.0 is installed. Verify with `port installed readline` that you have version @6.3.003_1 installed and with `port outdated` that readline is not outdated. Check with `otool -L /opt/local/lib/libreadline.dylib` whether libreadline links with libncurses.5 or libncurses.6. If 5, rebuild readline forcibly with `sudo port -n upgrade --force readline`. Don't forget to use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS