Update to 2.0.4 fails

Konrad Hinsen konrad.hinsen at fastmail.net
Wed Mar 7 23:25:04 PST 2012


Rainer Müller writes:

 > > Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
 > 
 > Please run this in debug mode with
 >   sudo port -d selfupdate
 > to see all messages printed to the terminal window.

Thanks! Now I get the log but I don't really understand what's going on:

/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic  -I/Library/Frameworks/Mono.framework/Versions/2.10.2/include    -Wl,-single_module registry.o util.o entry.o entryobj.o ../cregistry/cregistry.a -o registry.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.5 -ltclstub8.5   -L/Library/Frameworks/Mono.framework/Versions/2.10.2/lib -lsqlite3  
ld: warning: in /Library/Frameworks/Mono.framework/Versions/2.10.2/lib/libsqlite3.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
  "_sqlite3_finalize", referenced from:
      _all_objects in util.o
      _all_objects in util.o
      _reg_entry_depends in cregistry.a(entry.o)
      _reg_all_entries in cregistry.a(entry.o)
...

Apparently MacPorts picks up an SQLite library from an old Mono
installation on my machine. But why? And why only now, for the 2.0.4
update? And, most importantly, how can I prevent this?

Konrad.


More information about the macports-users mailing list