LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   Problem with installation on FreeBSD 5.3Beta5 (http://www.litespeedtech.com/support/forum/showthread.php?t=83)

Bartula 09-24-2004 11:35 AM

Problem with installation on FreeBSD 5.3Beta5
 
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 09-24-2004 06:08 PM

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

Bartula 09-27-2004 10:36 AM

thx. A symbolic link solved the problem.

darb 10-26-2004 09:49 PM

Could you explain this in newbie terms?

mistwang 10-27-2004 08:06 AM

Just do the following as root user
Code:

cd /usr/lib
ln -s libc.so.5 libc.so.4

This should make lshttpd happy on FreeBSD 5.X

darb 10-28-2004 04:45 PM

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 10-28-2004 07:30 PM

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".

darb 10-29-2004 12:00 AM

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/".


darb 10-29-2004 12:03 AM

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


mistwang 10-29-2004 06:00 AM

please do
Code:

ls /usr/lib/libm.*


All times are GMT -7. The time now is 07:20 PM.