PDA

View Full Version : Problem with installation on FreeBSD 5.3Beta5


Bartula
09-24-2004, 12:35 PM
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, 07: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, 11:36 AM
thx. A symbolic link solved the problem.

darb
10-26-2004, 10:49 PM
Could you explain this in newbie terms?

mistwang
10-27-2004, 09:06 AM
Just do the following as root user
cd /usr/lib
ln -s libc.so.5 libc.so.4
This should make lshttpd happy on FreeBSD 5.X

darb
10-28-2004, 05:45 PM
Actually, I am getting:

/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, 08: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, 01:00 AM
freeBSD 5.3

/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, 01:03 AM
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, 07:00 AM
please do ls /usr/lib/libm.*

darb
10-29-2004, 11:46 AM
server# ls /usr/lib/libm.*
/usr/lib/libm.a /usr/lib/libm.so

mistwang
10-29-2004, 10:00 PM
Please do
cd /usr/local
ln -s libm.so libm.so.2