on the ld.so problems too. heavily based on the FreeBSD port.
for static constructors in dynamic libraries to be called. Mozilla crashes in a dynamic library, btw.