#46815: Selfupdate still fails on "readline in /usr/local" after cleanout --------------------------+-------------------------------- Reporter: dsmithhfx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: | Keywords: selfupdate Port: | --------------------------+-------------------------------- Comment (by cal@…): Problem is {{{ /usr/bin/cc -dynamiclib -g -O2 -std=c99 -Wextra -Wall -pedantic -Wl,-single_module registry.o util.o entry.o entryobj.o file.o fileobj.o portgroup.o portgroupobj.o -o registry.dylib -L/opt/local/var/macports/sources/rsync.macports.org/release/base/vendor/tcl8.5.15/unix -ltclstub8.5 -install_name @loader_path/../registry2.0/registry.dylib -lsqlite3 ../cregistry/cregistry.a ld: Undefined symbols: _sqlite3_prepare_v2 _sqlite3_extended_result_codes /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make[2]: *** [registry.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 }}} It seems your version of sqlite3 is too old to support `sqlite3_prepare_v2`. MacPorts has a configure-time check to fall back to `sqlite3_prepare` if it isn't available, but that seems to have failed in your case. Please attach `/opt/local/var/macports/sources/rsync.macports.org/release/base/config.log`. Do you happen to have an `sqlite3.h` somewhere in `/usr/local`, because it seems the newer header is available, but the newer library isn't (or isn't being found). -- Ticket URL: <https://trac.macports.org/ticket/46815#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X