Stevo

MacPorts on Snow Leopard

by Stevo on Feb.10, 2010, under mozilla, songbird, thunderbird

So I work on Songbird and apparently it doesn’t need to have the 64bit version of the libIDL in MacPorts. I was building with no problems on a recently upgraded desktop computer. I then tried to build Thunderbird and got major fail:

ld: warning: in /opt/local/lib/libIDL-2.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libintl.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required architecture

Thinking this was something to do with MacPorts I tried a sudo port selfupdate, this failed even worse!

dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found.  Did find:
	/Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)

OK so what the hell, well a little Google search and I find that there is a new version for Snow Leopard, so I downloaded and tried the update again with success.

Now off to build again after the update completes…

:
2 comments for this entry:
  1. Jason

    Could you provide your .mozconfig for the build? I tried to build 2.0.0.24 but I get the same “no matching arch” error messages.

    I reinstalled MacPorts, but it seems that the error still exists. Any hints?

  2. Stevo

    For building Songbird I used the default .mozconfig by just running make -f songbird.mk debug in the trunk folder.

    [WORDPRESS HASHCASH] The poster sent us ’0 which is not a hashcash value.

Leave a Reply

Powered by WP Hashcash

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...