[MacPorts] #27952: Wrong architecture
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- When I try to use ports, I got this error message: dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): Library not loaded: /usr/lib/libedit.2.dylib Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib Reason: no suitable image found. Did find: /usr/lib/libedit.2.dylib: mach-o, but wrong architecture /usr/lib/libedit.2.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) How can I fix this? -- Ticket URL: <https://trac.macports.org/ticket/27952> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by dluke@…): Did you just upgrade? http://trac.macports.org/wiki/Migration -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by dluke@…): * priority: High => Not set -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jpedro2011@…): Replying to [comment:1 dluke@…]:
Did you just upgrade?
When I upgrade OSX to 10.6.6, i've got this trouble. In every command with port I got this message. (ex. sudo port selfupdate). I tried to reinstall Xcode and macports version, but nothing. MacPorts-1.9.2-10.6-SnowLeopard.dmg (the version of macports on my mac) -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by dluke@…): What does: `file /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib` say? What does: `file /usr/lib/libedit.2.dylib` say? -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: Wrong architecture ----------------------------------+----------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jpedro2011@…): Replying to [comment:4 dluke@…]:
What does:
`file /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib` say?
What does:
`file /usr/lib/libedit.2.dylib` say?
1º question: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: Mach-O universal binary with 2 architectures /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib (for architecture i386): Mach-O dynamically linked shared library i386 2º question: /usr/lib/libedit.2.dylib: Mach-O dynamically linked shared library i386 -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: base fails to run with single-arch /usr/lib/libedit.2.dylib -----------------------------------+---------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Not set | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid * component: ports => base Comment: On my machine: {{{ % file /usr/lib/libedit.2.dylib /usr/lib/libedit.2.dylib: Mach-O universal binary with 3 architectures /usr/lib/libedit.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libedit.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libedit.2.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc }}} So you need to get back the universal libedit that ships with the OS. -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: base fails to run with single-arch /usr/lib/libedit.2.dylib -----------------------------------+---------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Not set | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by jpedro2011@…): Replying to [comment:6 jmr@…]:
On my machine: {{{ % file /usr/lib/libedit.2.dylib /usr/lib/libedit.2.dylib: Mach-O universal binary with 3 architectures /usr/lib/libedit.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libedit.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libedit.2.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc }}} So you need to get back the universal libedit that ships with the OS.
Sorry but how can I do it? -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: base fails to run with single-arch /usr/lib/libedit.2.dylib -----------------------------------+---------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Not set | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by dluke@…): You probably need to reinstall Mac OS X from your OS install media. The libedit.2.dylib file you have doesn't appear to be the same one that ships with Mac OS X. -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: base fails to run with single-arch /usr/lib/libedit.2.dylib -----------------------------------+---------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Not set | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by jpedro2011@…): Replying to [comment:8 dluke@…]:
You probably need to reinstall Mac OS X from your OS install media. The libedit.2.dylib file you have doesn't appear to be the same one that ships with Mac OS X.
Ok I will do this. Thanks for the support -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27952: base fails to run with single-arch /usr/lib/libedit.2.dylib -----------------------------------+---------------------------------------- Reporter: jpedro2011@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Not set | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by jpedro2011@…): Replying to [comment:8 dluke@…]:
You probably need to reinstall Mac OS X from your OS install media. The libedit.2.dylib file you have doesn't appear to be the same one that ships with Mac OS X.
I used mac osx combo update and it works. -- Ticket URL: <https://trac.macports.org/ticket/27952#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts