Monday, September 7, 2009

Fixing MacPorts for Snow Leopard

This is off topic so if you are one of my regular readers you probably don't care. This isn't anywhere else on the web though so I figured I'd add it to my blog so people can find the information.

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)
What's happening is you have a PowerPC version of this TCL library. You need an Intelx86 version to run port. Rather than reinstall you can just fix this. I've put a zip file of the correct version on the associated website.


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 selfupdate 
and everything will be fine.


15 comments:

A.Admin said...

So is this where you've been? Fighting with Snow Cheetah?

CD-Host said...

No even better job related busy. Kaching, Kaching.

Xtragalattico said...

Thanks a lot for your tip. It really helped me.

Good luck!

Anonymous said...

It is very interesting for me to read that article. Thanx for it. I like such themes and anything connected to this matter. I definitely want to read a bit more soon.

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
CD-Host said...

The deleted comment above is I think a trojan. If you got the automatic email and are on a windows machine please don't follow the links.

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
M.A.C. said...

Hello,

Totally of topic but...

I hope you don't mind answering a couple of questions I am asking all believers everywhere;

Do you believe that God sent His only Son Jesus Christ to start a new religion called Christianity?

And Where is the text in the bible that supports the popular Christian belief that God sent His only Son Jesus Christ to start a new religion called Christianity?

CD-Host said...

Hi MAC --

Forgot about this post in the swarm of spam and Canadians fighting about the election. Curious of all the threads on my blog you would pick this one to ask that question.

In answer to your second question:
Romans 11, Acts 10...

M.A.C. said...

Hi CD-Host,

That is a most awesome answer to a ridiculous question which I am sure you figured out.

My purpose is completely solicitous to denominations and intended to to be controversial.

I was just hitting next and ended up here and thought the title of the blog was relevant to my purpose. Ergo I asked the question which is designed to open the gospel further.

What comes first to the believer repentance or salvation?

Considering that repentance is the key ingredient to salvation. If you do not repent you are not saved. Jesus could die one thousand times and you would still not be saved unless you repent. God commands us to repent. For Godly sorrow produces repentance leading to salvation.

Notice the progression from repentance to salvation.

Here are some more verses on repentance to consider;

Mark 2:17
Luke 13:1-9
Acts 3:19-20
Acts 17:24-31
2 Corinthians 7:10

I like your blog and your answer it was the best one by far you must read your bible daily.

Chad Riden said...

awesome! just what i needed. thank you.

CD-Host said...

Glad it was helpful Chad.

Unknown said...

Thanks!