Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3250

CMake Stout tests don't link correctly on OS X 10.10.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • cmake

    Description

      Reported by marco-mesos, at some point I borked the glog library path on OS X, and it fails to link. See error below (the error reported is GMock, but in my notes I wrote that it was glog that was borked, so I don't think this is the root issue).

      One guess is that the lib path on Windows and OS X are different, since on Windows you actually have to open the glog solution in Visual Studio and actually click build, which drops it in the source path; on OS X it builds with make and it builds at the configured prefix, which in this case should be the path suffixed with `$GLOG-lib/lib`. So my guess is I just messed up that logic.

      $ ./3rdparty/libprocess/3rdparty/stout/tests/stout_tests
      dyld: Library not loaded: /Users/marco/dev/workspace/mesos/build/3rdparty/libprocess/3rdparty//gmock-1.6.0/src/gmock-1.6.0-lib/lib/lib/libgmock.0.dylib
        Referenced from: /Users/marco/dev/workspace/mesos/build/./3rdparty/libprocess/3rdparty/stout/tests/stout_tests
        Reason: image not found
      Trace/BPT trap: 5
      

      Attachments

        Activity

          People

            hausdorff Alex Clemmer
            hausdorff Alex Clemmer
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: