[
https://issues.apache.org/jira/browse/ORC-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275760#comment-16275760
]
ASF GitHub Bot commented on ORC-270:
------------------------------------
GitHub user rip-nsk opened a pull request:
https://github.com/apache/orc/pull/196
ORC-270: fix target_link_libraries for tool-test
gmock depends on pthread library, but use ${GTEST_LIBRARIES} similar to
c++\test\CMakeLists.txt
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rip-nsk/orc ORC-270
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/196.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #196
----
commit 3d7434774d9e0d812b4e48ae68a837c32df6d803
Author: rip.nsk <[email protected]>
Date: 2017-12-02T21:42:12Z
ORC-270: fix target_link_libraries for tool-test
----
> simple build failed
> -------------------
>
> Key: ORC-270
> URL: https://issues.apache.org/jira/browse/ORC-270
> Project: ORC
> Issue Type: Bug
> Components: C++
> Environment: ubuntu-17.10
> Reporter: rip.nsk
> Priority: Trivial
>
> Simple build:
> cmake .. -DBUILD_JAVA=OFF -DBUILD_LIBHDFSPP=OFF
> make package
> are failed due to lost pthread dependency in tools/test target_link_libraries:
> ../gtest-port.h:2076: undefined reference to `pthread_getspecific'
> ..
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)