Problem with installation on FreeBSD 5.3Beta5

Discussion in 'Bug Reports' started by Bartula, Sep 24, 2004.

  1. Bartula

    Bartula New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    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
  3. Bartula

    Bartula New Member

    thx. A symbolic link solved the problem.
  4. darb

    darb New Member

    Could you explain this in newbie terms?
  5. mistwang

    mistwang LiteSpeed Staff

    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
  6. darb

    darb New Member

    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?
  7. mistwang

    mistwang LiteSpeed Staff

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

    darb New Member

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

    darb New Member

    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
    
    
  10. mistwang

    mistwang LiteSpeed Staff

    please do
    Code:
    ls /usr/lib/libm.*
  11. darb

    darb New Member

    Code:
    server# ls /usr/lib/libm.*
    /usr/lib/libm.a         /usr/lib/libm.so
  12. mistwang

    mistwang LiteSpeed Staff

    Please do
    Code:
    cd /usr/local
    ln -s libm.so libm.so.2

Share This Page