Macports selfupdate failed

Troy Telford ttelford.groups at
Thu Sep 1 13:45:25 PDT 2011

I just tried to run port -v selfupdate, and the update to MacPorts 2.0.2 fails.

It appears the problem is MacPorts is grabbig SQLite from


With the final error being:
/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic  
-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.3/lib -lsqlite3
ld: warning: ignoring file 
file was built for unsupported file format which is not the 
architecture being linked (x86_64)

Obviously, part of the problem is that the version of SQlite being 
found/used is from the Mono SDK (installed from,  
installed at /Library/Frameworks/Mono.framework.

The odd thing:  As far as I can tell, MacPorts should be using the 
frameworks in /opt/local/Library/Frameworks:
(from the configure script output:)
checking for Frameworks installation directory... /opt/local/Library/Frameworks

What do I need to do to get 'port selfupdate' to ignore the Mono framework in
And use the one(s) in

Troy Telford

More information about the macports-users mailing list