Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: xmllint

I recently upgraded to osx lion and when I now try to use xmllint I get the following error:


Wilberts-MacBook-Pro:mess-trunk wilbert$ xmllint

Launch of "xmllint" failed: the PowerPC architecture is no longer supported.

Wilberts-MacBook-Pro:mess-trunk wilbert$ which xmllint

/opt/local/bin/xmllint


How do I fix this?

Mac OS X (10.7.3)

Posted on

Reply

Page content loaded

Mar 27, 2012 1:57 PM in response to wfpol In response to wfpol

Lion does not support PPC-only software. The version of xmllint you have installed is apparently not compatible with Intel hardware.


Fix: Update xmllint to an Intel compatible version. Snow Leopard and Lion install their own version of xmllint that is compatible, so either you've upgraded over a really old version of OS X or installed your own copy of xmllint.


The one installed on my system works perfectly.

Mar 27, 2012 1:57 PM

Reply Helpful

Mar 28, 2012 12:29 AM in response to wfpol In response to wfpol

I started out with 10.3 and have been upgrading an migration through a few versions since then.


I kind of expected the OSX migration wizard to fix this for me and overwrite any unsupported with it's own working copy of that executable. My question still remains, how do I get Lion to put back it's own, working, copy of xmllint?


@Kappy:

Btw, the /usr/bin one is a hard link to /opt/local/bin/xmllint.

Mar 28, 2012 12:29 AM

Reply Helpful

Mar 28, 2012 4:01 AM in response to wfpol In response to wfpol

Anything in /opt has nothing to do with Lion. That's all stuff you installed.


Btw, the /usr/bin one is a hard link to /opt/local/bin/xmllint.


If that's true, then you overwrote the system binary. Boot from your recovery partition and reinstall the Mac OS.

Mar 28, 2012 4:01 AM

Reply Helpful
User profile for user: wfpol

Question: xmllint