Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40403

curl binary fails no working @rpath on OS-X and macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.1, 6.6.0
    • Fix Version/s: 6.6.0
    • Component/s: build, mac-app
    • Labels:
      None
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown
    • Sprint:
      Build Team 2020 Sprint 14

      Description

      This is something that was missed when https://issues.couchbase.com/browse/MB-37768 was resolved for 'cbc' binary prior to 6.5.1 GA.

      The issue is with the 'curl' binary in 6.5.1, in fact all binaries should be checked on MacOS (not just curl) by setting the couchbase bin directory first in the path.

      PATH=/Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin:$PATH

      Overview

      After installing 6.5.1 GA on a Mac, the curl executable will not work due to a @rpath issue as such none of them work after install

      /Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/curl
      dyld: Library not loaded: @rpath/libssl.1.1.dylib
        Referenced from: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/curl
        Reason: image not found
      Abort trap: 6
      

      A quick fix to currently installed Mac deployments (should be in release notes)

      A simple fix for both MacOS 10.14.6 “Mojave” can be made as follows:

      cd /Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin
      install_name_tool -add_rpath @executable_path/../lib curl

       
       
       

       
       
       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

            jon.strabala Jon Strabala created issue -
            raju Raju Suravarjjala made changes -
            Field Original Value New Value
            Assignee Wayne Siu [ wayne ]
            wayne Wayne Siu made changes -
            Assignee Wayne Siu [ wayne ] Chris Hillery [ ceej ]
            wayne Wayne Siu made changes -
            Component/s build [ 10200 ]
            wayne Wayne Siu made changes -
            Fix Version/s 6.6.0 [ 16787 ]
            ceej Chris Hillery made changes -
            Sprint Build Team 2020 Sprint 14 [ 1154 ]
            ceej Chris Hillery made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ceej Chris Hillery made changes -
            Assignee Chris Hillery [ ceej ] Mihir Kamdar [ mihir.kamdar ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ceej Chris Hillery made changes -
            Assignee Mihir Kamdar [ mihir.kamdar ] Chris Hillery [ ceej ]
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            ceej Chris Hillery made changes -
            Link This issue blocks MB-38724 [ MB-38724 ]
            ceej Chris Hillery made changes -
            Assignee Chris Hillery [ ceej ] Mihir Kamdar [ mihir.kamdar ]
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            ceej Chris Hillery made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 20234 ]
            mihir.kamdar Mihir Kamdar made changes -
            Assignee Mihir Kamdar [ mihir.kamdar ] Thuan Nguyen [ thuan ]
            arunkumar Arunkumar Senthilnathan made changes -
            Assignee Thuan Nguyen [ thuan ] Arunkumar Senthilnathan [ arunkumar ]
            arunkumar Arunkumar Senthilnathan made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              arunkumar Arunkumar Senthilnathan
              Reporter:
              jon.strabala Jon Strabala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty