Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2169

libhdfs makefile wrongly sets up DT_SONAME field of libhdfs.so

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.14.4, 0.15.1
    • Component/s: None
    • Labels:
      None

      Description

      For src/c++/libhdfs/Makefile:

      LIB_NAME = hdfs
      SO_TARGET = $(LIBHDFS_BUILD_DIR)/lib$(LIB_NAME).so.$(SHLIB_VERSION)
      SO = $(LIBHDFS_BUILD_DIR)/lib$(LIB_NAME).so
      
      $(SO_TARGET): $(COBJS)
      	$(LD) $(LDFLAGS) -o $(SO_TARGET) -Wl,-soname,$(SO_TARGET) $(COBJS) \
      	&& $(LINK) $(SO_TARGET) $(SO)
      

      Basically the wrong value is passed for -soname flag to the linker, straight-forward fix.

        Attachments

        1. HADOOP-2169_1_20071108.patch
          0.9 kB
          Arun C Murthy

          Activity

            People

            • Assignee:
              acmurthy Arun C Murthy
              Reporter:
              acmurthy Arun C Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: