#44346: Selfupdate fails with Undefined symbols for architecture x86_64: "_rl_username_completion_function" --------------------------------+-------------------------------- Reporter: bugmail-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.1 Keywords: | Port: --------------------------------+-------------------------------- sudo port selfupdate fails with the following error: {{{ /usr/bin/cc -dynamiclib -g -O2 -std=c99 -Wextra -Wall -pedantic -Wl,-single_module Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o base32cmd.o sha1cmd.o curl.o rmd160cmd.o sha256cmd.o readline.o uid.o tracelib.o tty.o readdir.o pipe.o flock.o system.o mktemp.o realpath.o -o Pextlib.dylib -L/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/vendor/tcl8.5.15/unix -ltclstub8.5 -install_name /opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib -lcurl -lreadline ../registry2.0/registry.dylib Undefined symbols for architecture x86_64: "_rl_username_completion_function", referenced from: _attempted_completion_function in readline.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make[2]: *** [Pextlib.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with- tclpackage=/Library/Tcl --with-install-user=root --with-install- group=admin --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1 Exit code: 2 DEBUG: Error installing new MacPorts base: command execution failed while executing "macports::selfupdate [array get global_options] base_updated" Error: Error installing new MacPorts base: command execution failed }}} I read Ticket #43856 but I don't have homebrew nor a readline.o in /usr/local {{{ locate readline.o /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/src/pextlib1.0/readline.o /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/omake/files /patch-lib-configure-readline.om.diff }}} How can I fix this? I'm going to attach the output of sudo port -v selfupdate. -- Ticket URL: <https://trac.macports.org/ticket/44346> MacPorts <http://www.macports.org/> Ports system for OS X