Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Apache startup fails: "libgcc_s.so.1: open failed: No such file or directory"

    Apache startup fails: "libgcc_s.so.1: open failed: No such file or directory"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    We just upgraded from ALEPH v16 to v18.

    I ran the utml utility to change httpd_port to 80. I cannot start apache.

    > # cd
    > /aleph/aleph/a18_1/alephe/apache/bin
    >
    > # ./apachectl start
    > ld.so.1: httpd: fatal: libgcc_s.so.1: open failed: No such file or
    > directory Killed ./apachectl start: httpd could not be started

    Resolution:
    This problem can occur when the gcc is missing from the $LD_LIBRARY_PATH....

    a18(1) >>echo $LD_LIBRARY_PATH
    > /opt/SUNWspro/prod/lib:/exlibris/aleph/a18_1/product/local/perl:/exlibris/aleph/a18_1/product/local/cobol/coblib:/exlibris/aleph/a18_1/product> /local/gcc/lib:/lib:/usr/lib:/lib:/usr/ucblib:/exlibris/app/oracle/product/102/lib32:/exlibris/aleph/a18_1/product/local/java/jre/lib/sparc:/exlib ris/aleph/a18_1/product/local/java/jre/lib/sparc/server

    a18(1) >>cd /exlibris/aleph/a18_1/product/local/gcc/lib
    /exlibris/aleph/a18_1/product/local/gcc/lib: No such file or directory.
    a18(1) >>which gcc
    > /usr/sfw/bin/gcc

    We see that libgcc_s.so.1 is in /usr/sfw/lib/ , so I added that to the
    $LD_LIBRARY_PATH in aleph_start.

    I changed:

    setenv LD_LIBRARY_PATH
    "/opt/SUNWspro/prod/lib:${aleph_product}/local/perl:$COBDIR/coblib:${aleph_product}/local/gcc/lib:/lib:/usr/lib:/lib:/usr/ucblib"

    to:

    setenv LD_LIBRARY_PATH
    "/opt/SUNWspro/prod/lib:${aleph_product}/local/perl:$COBDIR/coblib:${aleph_product}/local/gcc/lib:/lib:/usr/lib:/lib:/usr/ucblib:/usr/sfw/lib"

    Then I did:

    > source aleph_start


    [Jerry Specht]
    [8/6/2007 9:31:52 PM Jerry Specht]


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Apache startup fails: "Permission denied: httpd: could not open error log file"
      • Apache startup on reboot
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved