[MacPorts] #46815: Selfupdate still fails on "readline in /usr/local" after cleanout

MacPorts noreply at macports.org
Tue Feb 10 10:16:33 PST 2015

#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
 -ltclstub8.5  -install_name @loader_path/../registry2.0/registry.dylib
 -lsqlite3 ../cregistry/cregistry.a
 ld: Undefined symbols:
 /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

 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

More information about the macports-tickets mailing list