New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24211 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

macports installation fails on leopard

Reported by: sebastian.sulger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.2
Keywords: Cc:
Port:

Description

hello macports support,

i am trying to get macports to work on my macbook. i tried several dmg packages (1.7.0, 1.8.0, 1.8.2), of course after uninstalling any previously installed versions of macports.

specifications of my macbook: running mac os 10.5.8 2 ghz intel core 2 duo 2 gb 667 mhz ddr2 sdram

none of the packages seem to install properly. here is the message i get (after getting a 'succeed' message in the installation dialog):

[udp01961uds:~] ssulger% port
no suitable image found.  Did find:
	/Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
NSCreateObjectFileImageFromFile() error: not a Mach-O MH_BUNDLE file
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)

i notice there are problems after updating to snow leopard, but i did not do so - what could be the problem here?

thanks a lot, sebastian

Change History

comment:1 Changed 3 years ago by jmr@…

  • Keywords macports installation package 1.8.2 no suitable image found removed
  • Priority changed from High to Normal
  • Component changed from ports to base

Show output of these commands please:

file /Library/Tcl/macports1.0/MacPorts.dylib
lipo -info /Library/Tcl/macports1.0/MacPorts.dylib

comment:2 Changed 3 years ago by sebastian.sulger@…

output of file /Library/Tcl/macports1.0/MacPorts.dylib:

[udp01961uds:Irish/standard/irish-120709] ssulger% file /Library/Tcl/macports1.0/MacPorts.dylib
/Library/Tcl/macports1.0/MacPorts.dylib: Mach-O universal binary with 2 architectures
/Library/Tcl/macports1.0/MacPorts.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc
/Library/Tcl/macports1.0/MacPorts.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

output of lipo -info /Library/Tcl/macports1.0/MacPorts.dylib:

[udp01961uds:Irish/standard/irish-120709] ssulger% lipo -info /Library/Tcl/macports1.0/MacPorts.dylib
Architectures in the fat file: /Library/Tcl/macports1.0/MacPorts.dylib are: ppc7400 i386 
[udp01961uds:Irish/standard/irish-120709] ssulger% 

comment:3 Changed 3 years ago by jmr@…

That's exactly what it's meant to look like, which means your tclsh is not running as i386, which means it's not the version that Apple ships with Leopard.

comment:4 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.