Freebsd 8.2

joe

Well-Known Member
#1
I know from reading the forum this is probably too new, but I want to move forward with a supported OS.

freebsd 8.2 generic amd64

I've installed the lib32 compatible libraries which got me by the first error message.

Now installation ends with this error:
/usr/libexec/ld-elf.so.1: Shared object "libcrypt.so.2" not found, required by "lshttpd.4.0.20"
[ERROR] Failed to start litespeed!

Is there hope?
 

joe

Well-Known Member
#3
Thanks for a quick response!
Here's the output:

www2# ldd -a /usr/local/lsws/bin/lshttpd.4.0.20
/usr/local/lsws/bin/lshttpd.4.0.20:
libcrypt.so.2 => not found (0x0)
libm.so.2 => not found (0x0)
libc.so.4 => not found (0x0)

I've tried adding/removing several soft links in places such as /usr/lib; /usr/local/lib; and /usr/local/sbin to no avail.

libcrypt.so and libcrypt.so.5 appear to be present on the system if that relevant.
 

joe

Well-Known Member
#4
Not sure if this is ideal, but it seems to have worked:

pkg_add compat4x
pkg_add compat5x

pkg_info now shows
compat4x-i386-5.3_9 A convenience package to install the compat4x libraries
compat5x-amd64-5.4.0.8.1_1 A convenience package to install the compat5x libraries


and the server installed fine.
ldd -a /usr/local/lsws/bin/lshttpd.4.0.20
/usr/local/lsws/bin/lshttpd.4.0.20:
libcrypt.so.2 => /usr/local/lib32/compat/libcrypt.so.2 (0x282b5000)
libm.so.2 => /usr/local/lib32/compat/libm.so.2 (0x282ce000)
libc.so.4 => /usr/local/lib32/compat/libc.so.4 (0x282e9000)

any reason why this isn't a good setup? i.e performance, security, etc?

onto SSL...
 
Top