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 "Arun C Murthy (JIRA)" <ji...@apache.org> on 2007/12/18 13:15:43 UTC
[jira] Updated: (HADOOP-2352) Remove AC_LIB_CHECK from
src/native/configure.ac to ensure libhadoop.so doesn't have a dependency on
libz.so/liblzo.so
[ https://issues.apache.org/jira/browse/HADOOP-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-2352:
----------------------------------
Attachment: HADOOP-2352_1_20071218.patch
Here is a straight-forward patch ...
The meat of the patch is:
{noformat}
Index: src/native/configure.ac
===================================================================
--- src/native/configure.ac (revision 605197)
+++ src/native/configure.ac (working copy)
@@ -61,12 +61,6 @@
LDFLAGS=$ldflags_bak
AC_SUBST([JNI_LDFLAGS])
-dnl Check for '-lz'
-AC_CHECK_LIB([z], [deflate])
-
-dnl Check for '-llzo2'
-AC_CHECK_LIB([lzo2], [lzo_init])
-
# Checks for header files.
dnl Check for Ansi C headers
AC_HEADER_STDC
{noformat}
----
bq. Is this required for 0.15.2?
This is a long-standing bug, I believe it should go in asap...
> Remove AC_LIB_CHECK from src/native/configure.ac to ensure libhadoop.so doesn't have a dependency on libz.so/liblzo.so
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-2352
> URL: https://issues.apache.org/jira/browse/HADOOP-2352
> Project: Hadoop
> Issue Type: Bug
> Components: native
> Affects Versions: 0.15.1
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Fix For: 0.15.2
>
> Attachments: HADOOP-2352_1_20071218.patch
>
>
> We should AC_LIB_CHECK from src/native/configure.ac to ensure libhadoop.so doesn't have a dependency on libz.so/liblzo.so, the check for libz/liblzo headers via AC_HEADERS_CHECK is a stronger guarantee anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.