Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2364

CFEngine does not run on Solaris due to wrongly encoded library dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Blocker
    • Resolution: Won't Do
    • Affects Version/s: 3.9.0 beta
    • Fix Version/s: 3.9.0
    • Component/s: None
    • Labels:
      None

      Description

      This was found on several customers' machines, but we have been unable to reproduce it locally. This is from one customer:

      root@txds1:/var/tmp # cf-agent -B 10.223.153.79
      error: Could not open shared library: ld.so.1: cf-agent: fatal: relocation error: file /var/cfengine/lib/libcurl.so.4: symbol SSL_get0_alpn_selected: referenced symbol not found
      error: Could not get interface 'igb4' addresses (ioctl(SIOCGARP): No such device or address)
      error: Could not get interface 'igb7' addresses (ioctl(SIOCGARP): No such device or address)
      notice: Bootstrap mode: implicitly trusting server, use --trust-server=no if server trust is already established
      error: Could not open shared library: ld.so.1: cf-promises: fatal: relocation error: file /var/cfengine/lib/libcurl.so.4: symbol SSL_get0_alpn_selected: referenced symbol not found
      error: Could not get interface 'igb4' addresses (ioctl(SIOCGARP): No such device or address)
      error: Could not get interface 'igb7' addresses (ioctl(SIOCGARP): No such device or address)
      notice: Trusting new key: MD5=a166210d93d4e6cd56be83b5de95b2ca
      error: Process table lacks space for last columns: slup_parsed -e
      error: Process table lacks space for last columns: /slupqueue
      Segmentation Fault (core dumped)
      

      This is from another:

      # /var/cfengine/bin/cf-agent -V
      ld.so.1: cf-agent: fatal: libpromises.so.3: open failed: No such file or directory
      Killed
      # ldd cf-agent | grep 'not found' | awk '{print $1}' | while read line; do rl=`ls /var/cfengine/lib/$line*`; echo "/var/cfengine/$line != $rl"; done
      /var/cfengine/libpromises.so.3 != /var/cfengine/lib/libpromises.so.3.0.6
      /var/cfengine/libyaml-0.so.2 != /var/cfengine/lib/libyaml-0.so.2.0.4
      /var/cfengine/libcurl.so.4 != /var/cfengine/lib/libcurl.so.4.4.0
      /var/cfengine/libpcre.so.1 != /var/cfengine/lib/libpcre.so.1.2.6
      /var/cfengine/libpq.so.5 != /var/cfengine/lib/libpq.so.5.3
      

      Also attached is the output from the command ldd -vsUwpr /var/cfengine/bin/cf-agent, executed on the first customer's machine:

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel