Problem with installation on FreeBSD 5.3Beta5

#1
Hi.

I've tried to install lsws on FreeBSD. At the end of the installation script (when trying to start the web server) I get the following error:

Would you like to start it right now [Y/n]? Y

/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by "lshttpd"
[ERROR] Failed to start lshttpd!

[ERROR] Failed to start the web server. For trouble shooting information,
please refer to documents in "/usr/local/lsws/docs/".

Regards,
Andreas
 

mistwang

LiteSpeed Staff
#2
Thank you for the bug report.

You should install FreeBSD 4.x compatible C Library, or just make symbolic link from libc.so.5 to libc.so.4, we heard it works as well.

George Wang
 
#6
Actually, I am getting:
Code:
/usr/libexec/ld-elf.so.1: Shared object "libc.so.2" not found, required by "lshttpd"
[ERROR] Failed to start lshttpd!
There doesn't appear to be a libc.so.1

Am I missing something that I need installed?
 

mistwang

LiteSpeed Staff
#7
It is libc.so.2 or libm.so.2?
Which version of FreeBSD are you using? Is there any libm.so.? in /usr/lib?
If yes, just create a symbolic link as "libm.so.2".
 
#8
freeBSD 5.3
Code:
/usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by "lshttpd"
[ERROR] Failed to start lshttpd!

[ERROR] Failed to start the web server. For trouble shooting information,
        please refer to documents in "/usr/local/etc/lsws-2.0RC2/docs/".
 
#9
Code:
server# ls
libasprintf.a           libgettextpo.a          libpng.a
libasprintf.so          libgettextpo.so         libpng.so
libasprintf.so.0        libgettextpo.so.1       libpng.so.5
libcharset.a            libgettextsrc-0.13.1.so libtiff.a
libcharset.so           libgettextsrc.so        libtiff.so
libcharset.so.1         libiconv.a              libtiff.so.4
libexpat.a              libiconv.so             libungif.a
libexpat.so             libiconv.so.3           libungif.la
libexpat.so.5           libintl.a               libungif.so
libfreetype.a           libintl.so              libungif.so.5
libfreetype.so          libintl.so.6            mysql
libfreetype.so.9        libjpeg.a               perl5
libgettextlib-0.13.1.so libjpeg.so              zsh
libgettextlib.so        libjpeg.so.9
server# pwd
/usr/local/lib
 
Top