Posts filed under ‘mac’

using xpidl under 64-bit Snow Leopard

i’ve been using xulrunner sdk for years to develop #Firefox add-ons with #netbeans with the #foxbeans plugin.

Since the migration to 64-bit Snow Leopard xpidl failed with the same bug as described on

But i could not followed the solution described there, because in my environment it failed with a typical 32-bit / 64-bit architecture compilation issue:

dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /usr/local/xulrunner-sdk/bin/xpidl
Reason: no suitable image found. Did find:
/opt/local/lib/libIDL-2.0.dylib: mach-o, but wrong architecture
Result: 133

After a short Google search i found the solution Patko described on his blog.

It did not work for me from scratch. I run in a architecture dependency error again:

bash-3.2# port -f install libiconv +universal—> Computing dependencies for libiconv
—> Configuring libiconv
—> Configuring libiconv for architecture x86_64
Error: Target org.macports.configure returned: configure failure: shell command ” cd “/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1-x86_64″ && ./configure –prefix=/opt/local –disable-dependency-tracking –enable-static –docdir=/opt/local/share/doc/libiconv –without-libiconv-prefix –without-libintl-prefix –disable-nls –enable-extra-encodings –disable-dependency-tracking ” returned error 1
Command output: checking for random.h… dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/grep
Reason: no suitable image found. Did find:
/usr/local/lib/libintl.8.dylib: no matching architecture in universal wrapper

Here is my simple modification to this solution to install libidl for both architectures (32bit und 64bit):

port uninstall gawk
port uninstall grep
port uninstall autoconf213

port install libtool +universal
(that also installs libiconv, gettext, grep)

port install gawk +universal

port upgrade –enforce-variants ncurses +universal
port upgrade –enforce-variants expat +universal
port install gettext +universal

port install libiconv +universal
port install glib2 +universal
port install libidl +universal

Running foxbeans build using xpidl is now successful.

Copying 1 file to /Volumes/…
BUILD SUCCESSFUL (total time: 0 seconds)


Saturday, 6 March 2010 at 01:25 GMT+0200 1 comment

hold your mac up to date with AppFresh

I found a cool tool to get updates for all my installed mac application: AppFresh by

Currently Appfresh is in version 0.7 beta, but it works for me very well.

AppFresh is a unique utility that scans your Mac’s applications, then checks to see if your software matches the latest versions.

Optional, you can register with AppFresh an account, but this is not required.

Wednesday, 16 July 2008 at 10:03 GMT+0200 Leave a comment