Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-201

Solaris 10 Intel: mod_auth_kerb.so: symbol asprintf: referenced symbol not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • JWS 3.0.1 CR2
    • JWS 3.0.1 CR1
    • httpd
    • None
    • Hide

      Start Apache HTTP Server with mod_auth_kerb loaded.

      Show
      Start Apache HTTP Server with mod_auth_kerb loaded.

      This is a follow up on changes done to mod_auth_kerb.so, mentioned in Mladen's comment:

      Mladen Turk added a comment - 16/Jul/15 3:17 PM

      Setting LD_LIBRARY_PATH is not needed
      There was an error in mod_auth_kerb which caused missing libraries.
      This is fixed now and does not manifest any more

      Here is the relevant commit
      http://pkgs.devel.redhat.com/cgit/rpms/mod_auth_kerb/commit/?h=jb-ep-7.0-xb&id=14ff7f61884d777b02a1b56800c27cb5db3ae913

      You are right, setting LD_LIBRARY_PATH doesn't help.

      At the moment, CR1 is affected in the same way as ER1 was though
      Do you find this Critical or Blocker?

      ER1

      ER1: Solaris 10 Intel 64 NOK

      httpd: Syntax error on line 702 of /tmp/64ER1/jws-3.0/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /tmp/64ER1/jws-3.0/etc/httpd/conf.d/auth_kerb.conf: Cannot load modules/mod_auth_kerb.so into server: ld.so.1: httpd: fatal: relocation error: file /tmp/64ER1/jws-3.0/etc/httpd/modules/mod_auth_kerb.so: symbol asprintf: referenced symbol not found
      ldd ../lib64/httpd/modules/mod_auth_kerb.so 
              libgssapi_krb5.so.2 =>   /tmp/64ER1/jws-3.0/lib64/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/64ER1/jws-3.0/lib64/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/64ER1/jws-3.0/lib64/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/64ER1/jws-3.0/lib64/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/64/libsocket.so.1
              libnsl.so.1 =>   /lib/64/libnsl.so.1
              libresolv.so.2 =>        /lib/64/libresolv.so.2
              libc.so.1 =>     /lib/64/libc.so.1
              libkrb5support.so.0 =>   /tmp/64ER1/jws-3.0/lib64/libkrb5support.so.0
              libmp.so.2 =>    /lib/64/libmp.so.2
              libmd.so.1 =>    /lib/64/libmd.so.1
              libscf.so.1 =>   /lib/64/libscf.so.1
              libdoor.so.1 =>  /lib/64/libdoor.so.1
              libuutil.so.1 =>         /lib/64/libuutil.so.1
              libgen.so.1 =>   /lib/64/libgen.so.1
              libm.so.2 =>     /lib/64/libm.so.2
      

      CR1

      Solaris 11 Intel 32 OK

      From apachectl: LD_LIBRARY_PATH="/tmp/32/jws-3.0/lib:/tmp/32/jws-3.0/lib::/usr/local/lib"

      ldd ../lib/httpd/modules/mod_auth_kerb.so 
              libgssapi_krb5.so.2 =>   /tmp/32/jws-3.0/lib/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/32/jws-3.0/lib/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/32/jws-3.0/lib/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/32/jws-3.0/lib/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/libsocket.so.1
              libnsl.so.1 =>   /lib/libnsl.so.1
              libresolv.so.2 =>        /lib/libresolv.so.2
              libc.so.1 =>     /lib/libc.so.1
              libkrb5support.so.0 =>   /tmp/32/jws-3.0/lib/libkrb5support.so.0
              libmp.so.2 =>    /lib/libmp.so.2
              libmd.so.1 =>    /lib/libmd.so.1
              libsoftcrypto.so.1 =>    /lib/libsoftcrypto.so.1
              libelf.so.1 =>   /lib/libelf.so.1
              libcryptoutil.so.1 =>    /lib/libcryptoutil.so.1
              libz.so.1 =>     /lib/libz.so.1
              libm.so.2 =>     /lib/libm.so.2
      

      Solaris 11 Intel 64 OK

      From apachectl: LD_LIBRARY_PATH="/tmp/64/jws-3.0/lib64:/tmp/64/jws-3.0/lib64::/usr/local/lib"

      ldd ../lib64/httpd/modules/mod_auth_kerb.so 
              libgssapi_krb5.so.2 =>   /tmp/64/jws-3.0/lib64/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/64/jws-3.0/lib64/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/64/jws-3.0/lib64/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/64/jws-3.0/lib64/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/64/libsocket.so.1
              libnsl.so.1 =>   /lib/64/libnsl.so.1
              libresolv.so.2 =>        /lib/64/libresolv.so.2
              libc.so.1 =>     /lib/64/libc.so.1
              libkrb5support.so.0 =>   /tmp/64/jws-3.0/lib64/libkrb5support.so.0
              libmp.so.2 =>    /lib/64/libmp.so.2
              libmd.so.1 =>    /lib/64/libmd.so.1
              libsoftcrypto.so.1 =>    /lib/64/libsoftcrypto.so.1
              libelf.so.1 =>   /lib/64/libelf.so.1
              libcryptoutil.so.1 =>    /lib/64/libcryptoutil.so.1
              libz.so.1 =>     /lib/64/libz.so.1
              libm.so.2 =>     /lib/64/libm.so.2
      

      Solaris 10 SPARC OK

      From apachectl: LD_LIBRARY_PATH="/tmp/jws-3.0/lib64:/tmp/jws-3.0/lib64::/usr/local/lib"

      ldd ../lib64/httpd/modules/mod_auth_kerb.so
              libgssapi_krb5.so.2 =>   /tmp/jws-3.0/lib64/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/jws-3.0/lib64/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/jws-3.0/lib64/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/jws-3.0/lib64/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/64/libsocket.so.1
              libnsl.so.1 =>   /lib/64/libnsl.so.1
              libresolv.so.2 =>        /lib/64/libresolv.so.2
              libc.so.1 =>     /lib/64/libc.so.1
              libkrb5support.so.0 =>   /tmp/jws-3.0/lib64/libkrb5support.so.0
              libmp.so.2 =>    /lib/64/libmp.so.2
              libmd.so.1 =>    /lib/64/libmd.so.1
              libscf.so.1 =>   /lib/64/libscf.so.1
              libdoor.so.1 =>  /lib/64/libdoor.so.1
              libuutil.so.1 =>         /lib/64/libuutil.so.1
              libgen.so.1 =>   /lib/64/libgen.so.1
              libm.so.2 =>     /lib/64/libm.so.2
              /lib/sparcv9/../libm/sparcv9/libm_hwcap1.so.2
              /platform/sun4v/lib/sparcv9/libc_psr.so.1
              /platform/sun4v/lib/sparcv9/libmd_psr.so.1
      

      Solaris 10 Intel 64 NOK

      From apachectl: LD_LIBRARY_PATH="/tmp/64/jws-3.0/lib64:/tmp/64/jws-3.0/lib64::/usr/local/lib:/usr/lib/gnome-private/lib/:"

      httpd: Syntax error on line 702 of /tmp/64/jws-3.0/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /tmp/64/jws-3.0/etc/httpd/conf.d/auth_kerb.conf: Cannot load modules/mod_auth_kerb.so into server: ld.so.1: httpd: fatal: relocation error: file /tmp/64/jws-3.0/etc/httpd/modules/mod_auth_kerb.so: symbol asprintf: referenced symbol not found
      ldd /tmp/64/jws-3.0/lib64/httpd/modules/mod_auth_kerb.so 
              libgssapi_krb5.so.2 =>   /tmp/64/jws-3.0/lib64/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/64/jws-3.0/lib64/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/64/jws-3.0/lib64/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/64/jws-3.0/lib64/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/64/libsocket.so.1
              libnsl.so.1 =>   /lib/64/libnsl.so.1
              libresolv.so.2 =>        /lib/64/libresolv.so.2
              libc.so.1 =>     /lib/64/libc.so.1
              libkrb5support.so.0 =>   /tmp/64/jws-3.0/lib64/libkrb5support.so.0
              libmp.so.2 =>    /lib/64/libmp.so.2
              libmd.so.1 =>    /lib/64/libmd.so.1
              libscf.so.1 =>   /lib/64/libscf.so.1
              libdoor.so.1 =>  /lib/64/libdoor.so.1
              libuutil.so.1 =>         /lib/64/libuutil.so.1
              libgen.so.1 =>   /lib/64/libgen.so.1
              libm.so.2 =>     /lib/64/libm.so.2
      

      Solaris 10 Intel 32 NOK

      From apachectl: LD_LIBRARY_PATH="/tmp/32/jws-3.0/lib:/tmp/32/jws-3.0/lib::/usr/local/lib:/usr/lib/gnome-private/lib/:"

      httpd: Syntax error on line 702 of /tmp/32/jws-3.0/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /tmp/32/jws-3.0/etc/httpd/conf.d/auth_kerb.conf: Cannot load modules/mod_auth_kerb.so into server: ld.so.1: httpd: fatal: relocation error: file /tmp/32/jws-3.0/etc/httpd/modules/mod_auth_kerb.so: symbol asprintf: referenced symbol not found
      ldd ../lib/httpd/modules/mod_auth_kerb.so 
              libgssapi_krb5.so.2 =>   /tmp/32/jws-3.0/lib/httpd/modules/../../libgssapi_krb5.so.2
              libkrb5.so.3 =>  /tmp/32/jws-3.0/lib/httpd/modules/../../libkrb5.so.3
              libk5crypto.so.3 =>      /tmp/32/jws-3.0/lib/httpd/modules/../../libk5crypto.so.3
              libcom_err.so.3 =>       /tmp/32/jws-3.0/lib/httpd/modules/../../libcom_err.so.3
              libsocket.so.1 =>        /lib/libsocket.so.1
              libnsl.so.1 =>   /lib/libnsl.so.1
              libresolv.so.2 =>        /lib/libresolv.so.2
              libc.so.1 =>     /lib/libc.so.1
              libkrb5support.so.0 =>   /tmp/32/jws-3.0/lib/libkrb5support.so.0
              libmp.so.2 =>    /lib/libmp.so.2
              libmd.so.1 =>    /lib/libmd.so.1
              libscf.so.1 =>   /lib/libscf.so.1
              libdoor.so.1 =>  /lib/libdoor.so.1
              libuutil.so.1 =>         /lib/libuutil.so.1
              libgen.so.1 =>   /lib/libgen.so.1
              libm.so.2 =>     /lib/libm.so.2
      

              rhn-engineering-jclere Jean-Frederic Clere
              mbabacek1@redhat.com Karm Karm
              Jean-Frederic Clere
              Karm Karm Karm Karm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: