OK so from here on out I'm assuming you were a Tiger or Leopard MacPorts user who has upgraded to Snow Leopard and is getting an error message that looks like:
dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture
while executing
"load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
("package ifneeded Pextlib 1.0" script)
invoked from within
"package require Pextlib 1.0"
(file "/opt/local/bin/port" line 40)
download and unzip this to /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
replacing the broken one then you can do your
sudo port -d selfupdateand everything will be fine.