#44346: Selfupdate fails with Undefined symbols for architecture x86_64: "_rl_username_completion_function" ---------------------------------+-------------------------------- Reporter: bugmail-macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.1 Resolution: worksforme | Keywords: Port: | ---------------------------------+-------------------------------- Comment (by manuel.nuno.melo@…): Maybe too little too late, but I faced the exact same problem and the reason was that /usr/bin/cc was pointing to /opt/local/bin/gcc (and therefore the MacPorts readline was always being preferred over the /usr/lib one). I imagine I did that linking myself at some point (duh!). Serves me right for being messy... Making /usr/bin/cc point to /usr/bin/gcc solved the problem. -- Ticket URL: <https://trac.macports.org/ticket/44346#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X