Tried upgrading an existing install of 5.2.6 i386 to 5.2.8 (lsws-5.2.8-std-i386-freebsd.tar.gz) and 5.3 (lsws-5.3-std-i386-freebsd.tar.gz).
The admin interface immediately stops working. In stderr.log is the following:
After some looking around I found where this comes from:
libexpat.so.1 (or any other version) is not a file that is present on FreeBSD 10 or 11, and it is also not installed by compat8x (or other compat ports). So needing this file seems a bug to me.
When downgrading to 5.2.6 the admin interface works again, and this is the ldd output of that version:
No libexpat.so.1 needed. Either Litespeed should include the file or not link against it. I haven't found a way to build a 32-bit libexpat on amd64 (the port only builds & installs the 64-bit version).
Thanks!
The admin interface immediately stops working. In stderr.log is the following:
Code:
2018-09-16 00:05:44.570 [STDERR] /usr/local/lib/libexpat.so.1: unsupported file layout
<repeated for every request>
Code:
# ldd /usr/local/lsws/admin/fcgi-bin/admin_php5
/usr/local/lsws/admin/fcgi-bin/admin_php5:
libcrypt.so.5 => /usr/lib32/libcrypt.so.5 (0x2850f000)
libexpat.so.1 => not found (0)
librt.so.1 => /usr/lib32/librt.so.1 (0x28533000)
libm.so.5 => /usr/lib32/libm.so.5 (0x28539000)
libc.so.7 => /usr/lib32/libc.so.7 (0x28562000)
libthr.so.3 => /usr/lib32/libthr.so.3 (0x286dd000)
When downgrading to 5.2.6 the admin interface works again, and this is the ldd output of that version:
Code:
# ldd /usr/local/lsws/admin/fcgi-bin/admin_php5
/usr/local/lsws/admin/fcgi-bin/admin_php5:
libcrypt.so.5 => /usr/lib32/libcrypt.so.5 (0x2844e000)
librt.so.1 => /usr/lib32/librt.so.1 (0x2846e000)
libm.so.5 => /usr/lib32/libm.so.5 (0x28475000)
libc.so.7 => /usr/lib32/libc.so.7 (0x284a4000)
libthr.so.3 => /usr/lib32/libthr.so.3 (0x285fe000)
Thanks!