hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acmur...@apache.org
Subject svn commit: r593743 - in /lucene/hadoop/trunk: CHANGES.txt src/c++/libhdfs/Makefile
Date Sat, 10 Nov 2007 07:07:36 GMT
Author: acmurthy
Date: Fri Nov  9 23:07:35 2007
New Revision: 593743

URL: http://svn.apache.org/viewvc?rev=593743&view=rev
Log:
HADOOP-2169.  Fix the DT_SONAME field of libhdfs.so to set it to the correct value of 'libhdfs.so',
currently it is set to the absolute path of libhdfs.so. Contributed by Arun C. Murthy.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/c++/libhdfs/Makefile

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=593743&r1=593742&r2=593743&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Nov  9 23:07:35 2007
@@ -95,6 +95,10 @@
     HADOOP-2140.  Add missing Apache Licensing text at the front of several
     C and C++ files.
 
+    HADOOP-2169.  Fix the DT_SONAME field of libhdfs.so to set it to the
+    correct value of 'libhdfs.so', currently it is set to the absolute path of
+    libhdfs.so. (acmurthy) 
+
 Release 0.15.0 - 2007-11-2
 
   INCOMPATIBLE CHANGES

Modified: lucene/hadoop/trunk/src/c++/libhdfs/Makefile
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/c%2B%2B/libhdfs/Makefile?rev=593743&r1=593742&r2=593743&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/c++/libhdfs/Makefile (original)
+++ lucene/hadoop/trunk/src/c++/libhdfs/Makefile Fri Nov  9 23:07:35 2007
@@ -31,8 +31,9 @@
 CPPFLAGS = -m32 -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(PLATFORM)
 
 LIB_NAME = hdfs
-SO_TARGET = $(LIBHDFS_BUILD_DIR)/lib$(LIB_NAME).so.$(SHLIB_VERSION)
-SO = $(LIBHDFS_BUILD_DIR)/lib$(LIB_NAME).so
+SO_NAME = lib$(LIB_NAME).so
+SO_TARGET = $(LIBHDFS_BUILD_DIR)/$(SO_NAME).$(SHLIB_VERSION)
+SO = $(LIBHDFS_BUILD_DIR)/$(SO_NAME)
 
 RM = rm -rf
 LINK = ln -sf
@@ -52,7 +53,7 @@
 all: $(SO_TARGET) $(HDFS_TEST) $(HDFS_READ_TEST) $(HDFS_WRITE_TEST)
 
 $(SO_TARGET): $(COBJS)
-	$(LD) $(LDFLAGS) -o $(SO_TARGET) -Wl,-soname,$(SO_TARGET) $(COBJS) \
+	$(LD) $(LDFLAGS) -o $(SO_TARGET) -Wl,-soname,$(SO_NAME) $(COBJS) \
 	&& $(LINK) $(SO_TARGET) $(SO)
 	
 $(LIBHDFS_BUILD_DIR)/%.o: %.c



Mime
View raw message