I have finally got nginx statically compiled for ARMv5 platforms (version 0.7.69).

It was difficult because linking with libz statically posed some issues and also because it needs large file system support which my toolchain did not have.

One observation: nginx doesn’t want to start without /etc/passwd and /etc/group and without strace – it was easy to spot that the error is the same unless both the files are there:

1. readelf 2.20.1.20100303 output:

2. ldd reports it as static:

For now I can only see the error page since I did not yet configure it with PHP-CGI:

nginx on Android

nginx on Android

The more the merrier !