[
https://issues.apache.org/jira/browse/HADOOP-8722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440096#comment-13440096
]
Colin Patrick McCabe commented on HADOOP-8722:
----------------------------------------------
Looking at our code again, I think it requires the library to be dynamic, so I
can just skip the {{.a}} stuff. We use {{dlopen}}, and I don't think that
works with {{.a}} (static) libraries.
At that point, there no danger of making two copies of the {{.so}} file, since
the second copy would overwrite the first. If the developer puts two different
copies of libsnappy.so in {{$\{snappy.lib\}}} or {{$\{snappy.prefix\}}}, I
think we can safely discount that as user error.
> -Dbundle.snappy doesn't work unless -Dsnappy.lib is set
> -------------------------------------------------------
>
> Key: HADOOP-8722
> URL: https://issues.apache.org/jira/browse/HADOOP-8722
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.2.0-alpha
> Reporter: Eli Collins
> Assignee: Colin Patrick McCabe
> Priority: Minor
> Attachments: HADOOP-8722.002.patch
>
>
> HADOOP-8620 changed the default of snappy.lib from snappy.prefix/lib to
> empty. This, in turn, means that you can't use {{-Dbundle.snappy}} without
> setting {{-Dsnappy.lib}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira