On 29 Sep 2009, at 21:47, Ralph Pass wrote:

More information:

doing a lipo -info /Libary/Tcl/macports1.0/Macports.dylib shows that on the system that works, the architecture is x86_64 and on the one that does not work, the architecture is i386. Both cases the gcc is gcc-4.2. Further the dates on the Macports.dylib file is the time of the sudo port selfupdate.

So why did the selfupdate use architecture i386 (and I know that Snow Leopard now defaults to x87_64 rather than i386)?

Ralph Pass

Ralph Pass wrote:
Like several other people I have had trouble with updating to 1.8.1 on Snow Leopard.

On my Mac Pro (about 19 months old), I updated to Snow Leopard and then 1.8.0 and things worked. I then did a sudo port selfupdate and it worked. A sudo port upgrade outdated also worked. On a new (3 month old) Macbook Pro, I updated to Snow Leopard and then 1.8.0 and things worked. However, it failed when I did a sudo port selfupdate:

sudo port selfupdate
dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found. Did find: /Library/Tcl/macports1.0/MacPorts.dylib: mach-o, but wrong architecture
  while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
  ("package ifneeded macports 1.0" script)
  invoked from within
"package require macports"
  (file "/opt/local/bin/port" line 39)

Note that for
uname -a     gives:
Darwin mars.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386

sw_vers      gives:
ProductName:    Mac OS X
ProductVersion:    10.6.1
BuildVersion:    10B504

So I am bit perplexed and looking for guidance.

Thanks,
Ralph Pass


On my year old 3 GHz iMac, I did a self-update last night from a .dmg installed 1.8 to 1.8.1 which went successfully as far as I can tell.

iMac:~ mark$ uname -r
10.0.0

iMac:~ mark$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.6.1
BuildVersion:   10B504

(and after spelling Library correctly)

iMac:~ mark$ lipo -info /Library/Tcl/macports1.0/Macports.dylib
Non-fat file: /Library/Tcl/macports1.0/Macports.dylib is architecture: x86_64

iMac:~ mark$ which gcc
/usr/bin/gcc

iMac:~ mark$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mark
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to