Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-708

mod_session_crypto.so hardcodes path to apr_crypto_openssl-1.so

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • httpd 2.4.29 ER2, httpd 2.4.29 SP1 ER1
    • httpd, zip
    • None
      1. unpack the zip
      2. run postinstall
      3. uncoment 'LoadModule session_crypto_module modules/mod_session_crypto.so' in conf.modules.d/01-session.conf'configuration file
      4. httpd -f $path_to_conf

      I can execute apache using apachectl start, however with the very same configuration executing with httpd -f $path_to_conf httpd fails to start and in error log I see:

      [Thu Nov 29 08:02:41.611711 2018] [session_crypto:error] [pid 26629] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: /opt/rh/jbcs-httpd24/root/usr/lib64/apr-util-1/apr_crypto_openssl-1.so: cannot open shared object file: No such file or directory (apr_crypto_openssl-1.so: 0)
      

      Im my testing environment if I prepend the call of httpd with: LD_LIBRARY_PATH="/tmp/GA/jbcs-httpd24-2.4/httpd/lib:$LD_LIBRARY_PATH" httpd starts correctly.

              gzaronik@redhat.com George Zaronikas
              preichl@redhat.com Pavel Reichl
              Dimitris Sartzetakis Dimitris Sartzetakis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: