You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alex Clemmer (JIRA)" <ji...@apache.org> on 2015/10/07 01:53:26 UTC

[jira] [Updated] (MESOS-3250) CMake Stout tests don't link correctly on OS X 10.10.

     [ https://issues.apache.org/jira/browse/MESOS-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Clemmer updated MESOS-3250:
--------------------------------
    Component/s: cmake

> CMake Stout tests don't link correctly on OS X 10.10.
> -----------------------------------------------------
>
>                 Key: MESOS-3250
>                 URL: https://issues.apache.org/jira/browse/MESOS-3250
>             Project: Mesos
>          Issue Type: Bug
>          Components: cmake
>            Reporter: Alex Clemmer
>            Assignee: Alex Clemmer
>              Labels: build, cmake, mesosphere
>
> 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.
> {code}
> $ ./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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)