Problem with Snow Leopard xulrunner build

Earlier today I finally installed Snow Leopard, followed instructions on the Mac build page and rebuilt TwitFactory. Build went fine. But when I run the app, it fails with the following error :

glazou$ open ../dist/TwitFactory.app

dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later,
but libsqlite3.dylib provides version 1.0.0
../dist/TwitFactory.app/Contents/MacOS/run-mozilla.sh: line 131: 96889 Trace/BPT trap "$prog" ${1+"$@"}

Anyone having a clue about what's going on here and how I could fix the problem? Thanks!


1. On Tuesday 29 September 2009, 04:50 by Jesse Ruderman

See bug 513747.

2. On Tuesday 29 September 2009, 18:41 by Benjamin Smedberg

Why is it running run-mozilla.sh? The reason you are experiencing the problem is that it has somehow decided to execute run-mozilla.sh instead of executing the binary directly. That run-mozilla.sh munges DYLD_LIBRARY_PATH is what causes the system library to get missed.

3. On Monday 5 October 2009, 11:59 by grebulon

What about webchunks. Did you abandon it?