dylib: no suitable image found

Rainer Müller raimue at macports.org
Sat Aug 29 15:28:37 PDT 2009


On 2009-08-29 19:56 , Charles Day wrote:
> $ 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)

Could it be that MacPorts builds itself as i386 on selfupdate while
tclsh is x86_64? The disk image is universal and thus works around this
problem. Just an assumption...

Rainer


More information about the macports-users mailing list