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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.15.0
    • 0.14.4, 0.15.1
    • None
    • 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 Murthy

        Activity

          People

            acmurthy Arun Murthy
            acmurthy Arun Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: