Copy /etc/ld.so* files to chrooted dir:
Code:
cp -avr /etc/ld.so.c* /srv/etc/
Restart lighttpd and test it again. This is what I've in my centos box:
Code:
-rw-r--r-- 1 root root 83 Jul 13 15:52 hosts
-rw-r--r-- 1 root root 44038 Jul 13 16:09 ld.so.cache
-rw-r--r-- 1 root root 28 Jul 13 16:09 ld.so.conf
drwxr-xr-x 2 root root 4096 Jul 10 08:50 ld.so.conf.d
-rw-r--r-- 1 root root 1623 Jul 13 15:52 nsswitch.conf
drwxr-xr-x 2 root root 4096 Jul 13 18:17 php.d
-rw-r--r-- 1 root root 45425 Sep 20 05:52 php.ini
-rw-r--r-- 1 root root 96 Jul 13 15:52 resolv.conf