[ 
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.  (For some reason, libjvm 
is linked using the @rpath location.)

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.  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.  (For some reason, libjvm 
is linked with @rpath....)

There is a good chance this also breaks FreeBSD and a few others that also 
support relocatable link 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.  (For some reason, 
> libjvm is linked using the @rpath location.)
> 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