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

Allen Wittenauer updated HADOOP-12606:
--------------------------------------
    Description: 
The cmake file configures CMAKE_BUILD_WITH_INSTALL_RPATH set to true, but the 
file only configures it properly for Linux and Solaris.  On OS X, this causes 
libhadoop.so to be compiled with an empty @rpath which in turn breaks every 
native unit test that links against libhadoop.dylib.

There is a good chance this also breaks FreeBSD and a few others that also 
support relocatable link paths.

  was:The cmake file configures CMAKE_BUILD_WITH_INSTALL_RPATH set to true, but 
the file only configures it properly for Linux and Solaris.  This definitely 
breaks OS X and likely breaks FreeBSD and a few others that also support 
relocatable linker paths.


> libhadoop compiled with RPATHs on non-configured platforms
> ----------------------------------------------------------
>
>                 Key: HADOOP-12606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12606
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>            Reporter: Allen Wittenauer
>            Priority: Blocker
>
> The cmake file configures CMAKE_BUILD_WITH_INSTALL_RPATH set to true, but the 
> file only configures it properly for Linux and Solaris.  On OS X, this causes 
> libhadoop.so to be compiled with an empty @rpath which in turn breaks every 
> native unit test that links against libhadoop.dylib.
> There is a good chance this also breaks FreeBSD and a few others that also 
> support relocatable link paths.



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

Reply via email to