dylib: no suitable image found

Joshua Root jmr at macports.org
Sat Aug 29 17:48:23 PDT 2009


On 2009-8-30 08:28, Rainer Müller wrote:
> 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...

It will build for whatever the compiler produces by default. But this is
not the compile failing, but the existing i386 macports libs failing to
load in the x86_64 tclsh.

- Josh


More information about the macports-users mailing list