You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (Created) (JIRA)" <ji...@apache.org> on 2012/04/19 20:26:40 UTC
[jira] [Created] (HADOOP-8293) The native library's Makefile.am
doesn't include JNI path
The native library's Makefile.am doesn't include JNI path
---------------------------------------------------------
Key: HADOOP-8293
URL: https://issues.apache.org/jira/browse/HADOOP-8293
Project: Hadoop Common
Issue Type: Bug
Components: build
Reporter: Owen O'Malley
Assignee: Owen O'Malley
Fix For: 1.0.3, 3.0.0
When compiling on centos 6, I get the following error when compiling the native library:
{code}
[exec] /usr/bin/ld: cannot find -ljvm
{code}
The problem is simply that the Makefile.am libhadoop_la_LDFLAGS doesn't include AM_LDFLAGS.
--
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
[jira] [Resolved] (HADOOP-8293) The native library's Makefile.am
doesn't include JNI path
Posted by "Owen O'Malley (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley resolved HADOOP-8293.
-----------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0.0)
1.1.0
Hadoop Flags: Reviewed
I just committed this to branch-1 and branch-1.0. The fix was already done in trunk.
> The native library's Makefile.am doesn't include JNI path
> ---------------------------------------------------------
>
> Key: HADOOP-8293
> URL: https://issues.apache.org/jira/browse/HADOOP-8293
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Fix For: 1.0.3, 1.1.0
>
> Attachments: h-8293.patch
>
>
> When compiling on centos 6, I get the following error when compiling the native library:
> {code}
> [exec] /usr/bin/ld: cannot find -ljvm
> {code}
> The problem is simply that the Makefile.am libhadoop_la_LDFLAGS doesn't include AM_LDFLAGS.
--
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