Hadoop Common
  1. Hadoop Common
  2. HADOOP-8293

The native library's Makefile.am doesn't include JNI path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.3
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When compiling on centos 6, I get the following error when compiling the native library:

       [exec] /usr/bin/ld: cannot find -ljvm
      

      The problem is simply that the Makefile.am libhadoop_la_LDFLAGS doesn't include AM_LDFLAGS.

      1. h-8293.patch
        0.6 kB
        Owen O'Malley

        Activity

        Owen O'Malley created issue -
        Hide
        Owen O'Malley added a comment -

        This patch fixes the problem on branch-1.0

        Show
        Owen O'Malley added a comment - This patch fixes the problem on branch-1.0
        Owen O'Malley made changes -
        Field Original Value New Value
        Attachment h-8293.patch [ 12523383 ]
        Hide
        Matt Foley added a comment -

        +1. Looks right. Thanks.

        Show
        Matt Foley added a comment - +1. Looks right. Thanks.
        Hide
        Owen O'Malley added a comment -

        I just committed this to branch-1 and branch-1.0. The fix was already done in trunk.

        Show
        Owen O'Malley added a comment - I just committed this to branch-1 and branch-1.0. The fix was already done in trunk.
        Owen O'Malley made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.1.0 [ 12316501 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]
        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop-1.0.3.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop-1.0.3.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Matt Foley added a comment - - edited

        1.0.3 was a lineal predecessor of 1.1.0.

        Show
        Matt Foley added a comment - - edited 1.0.3 was a lineal predecessor of 1.1.0.
        Matt Foley made changes -
        Fix Version/s 1.1.0 [ 12316501 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        22h 15m 1 Owen O'Malley 20/Apr/12 17:41
        Resolved Resolved Closed Closed
        26d 4h 4m 1 Matt Foley 16/May/12 21:45

          People

          • Assignee:
            Owen O'Malley
            Reporter:
            Owen O'Malley
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development