dylib: no suitable image found

Charles Day cedayiv at gmail.com
Sat Aug 29 16:36:47 PDT 2009


On Sat, Aug 29, 2009 at 11:24 AM, Charles Day <cedayiv at gmail.com> wrote:

> On Sat, Aug 29, 2009 at 10:56 AM, Charles Day <cedayiv at gmail.com> wrote:
>
>> My MacPorts 1.7.1 installation seems to be broken. It was fine before I
>> upgraded from Leopard to Snow Leopard last night. What do I need to do to
>> fix this?
>>
>> $ sudo port -d selfupdate (or any port command)
>> 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)
>>
>
> I decided to just download the 1.8.0 Snow Leopard .dmg and install that.
> Problem solved. Hope this message helps someone who might experience the
> same.
>
> Now time to rebuild all my ports...
>

... which I couldn't do without first upgrading to Xcode 3.2. It seems that
the Snow Leopard installation process must have taken away the command-line
build tools from Xcode 3.1, like "make".


> Cheers,
> Charles
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090829/4697b6f2/attachment.html>


More information about the macports-users mailing list