NSS is linked against sqlite, so loading NSS libraries will require sqlite. Thus sqlite ought to appear first in dependentlibs.list, the xpcom standalone glue loading libraries in that order. It actually works without any change, but is suboptimal.
Created attachment 533653 [details] [diff] [review] Move sqlite before nss in dependentlibs.list
Doesn't nss have its own embedded copy of sqlite?
(In reply to comment #2) > Doesn't nss have its own embedded copy of sqlite? Fortunately, it uses firefox's $ readelf -d libsoftokn3.so Dynamic section at offset 0x2d554 contains 30 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libmozsqlite3.so] (...)