PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Error at search.cgi on BSD Unix with ld-elf.so.1 file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error at search.cgi on BSD Unix with ld-elf.so.1 file

    I just purchased zoom v4.2 professional

    I indexed the site. It's configured to display basic search form.
    I uploaded all the files generated in binary form to my cgi-bin folder and gave executable permission to search.cgi (running apache, FreeBSD 5.1).

    running /cgi/bin/(Zoom Search folder)/search.cgi I get an error message:
    /usr/libexec/ld-elf.so.1: /u1/www/cgi-bin/Search/search.cgi: Shared object has no run-time symbol table


    I appreciate any help with this one
    Thx,
    Sonney
    Last edited by sonney; Oct-23-2006, 10:51 PM.

  • #2
    This is unusual and may indicate that your BSD server has been installed with some necessary object files missing. This could be due to a bad/broken OS install, or a trimmed down/customized installation process.

    To be sure the library is really missing, try to look for the missing library with your system's "Find files/folders" tool or you can do a:

    Code:
    find / -name 'ld-elf.so.1'
    from the command line (Note: The single quote around the missing library name is needed.)

    Alternatively, you can do:

    Code:
    ldconfig -p | grep ld-elf
    to see if the library is in the linker library cache (/etc/ld.so.cache).
    Library files are usually in the /usr/lib directory.

    If you have confirmed that the library file is missing, consult your BSD documentation on how to re-install this library file.

    If you are running on 64-bit kernel, your system will probably have 2 sets of library, one for 32-bit (/usr/lib) and one for 64-bit (/usr/lib64). The Zoom CGI should be linking to the 32-bit libraries (/usr/lib). If the library that is missing is in /usr/lib64 BUT not in /usr/lib, your system will probably get this error.

    FYI, the BSD version of the search.cgi was compiled and tested on FreeBSD 4.8. We have not previously had any problems with it running on newer versions of BSD.

    Let us know how you go with the above.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      thank for the reply.

      The Library is not missing and I tried search.cgi on other FreeBDS environments (4.2,4.6, 5.3/5.4) without success:
      there's something wrong with the binary formt. Even the objdump ELF tool does not recognize the format of the binary (on FreeBSD 5.3/5.4):

      challenger[464] # objdump -h search.cgi
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 117440512 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 83886080 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 184549376 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 150994944 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 150994944 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 100663296 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 134217728 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 16777216 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 117440512 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'
      BFD: search.cgi: invalid string offset 33554432 >= 0 for section `'
      BFD: search.cgi: invalid string offset 50331648 >= 0 for section `.shstrtab'

      search.cgi: file format elf32-i386-freebsd

      Sections:
      Idx Name Size VMA LMA File off Algn

      Comment


      • #4
        We only have FreeBSD 4.8 32bit on x86 available for testing today. But we'll confirm it looks ok on this machine.

        Are you running on a Intel / AMD x86 CPU or something more exotic?

        Did you upload the file to the server in FTP binary mode. Many FTP programs screw this up and use ASCII mode, corrupting the file. What is the size in bytes of the search.cgi file on your server?

        Which exact build of Zoom are you using, 4.2 build 1013 ?

        Comment

        Working...
        X