You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/08/27 12:53:41 UTC

[incubator-doris] branch master updated: [Bug] replace libltdl.so when compile the unixodbc library (#4461)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 84c63f1  [Bug] replace libltdl.so when compile the unixodbc library (#4461)
84c63f1 is described below

commit 84c63f13505daa7a369faa321c12a7e95fa4492f
Author: HappenLee <ha...@hotmail.com>
AuthorDate: Thu Aug 27 20:53:28 2020 +0800

    [Bug] replace libltdl.so when compile the unixodbc library (#4461)
---
 be/CMakeLists.txt              | 2 +-
 thirdparty/build-thirdparty.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 50546ee..b2b3b79 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -466,7 +466,7 @@ else()
 endif()
 
 set(DORIS_LINK_LIBS ${DORIS_LINK_LIBS}
-    -lrt -lbfd -liberty -lc -lm -ldl -lltdl -pthread
+    -lrt -lbfd -liberty -lc -lm -ldl -pthread
 )
 
 # Set libraries for test
diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 0202cca..ccc8e65 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -529,7 +529,7 @@ build_libunixodbc() {
     CPPFLAGS="-I${TP_INCLUDE_DIR}" \
     LDFLAGS="-L${TP_LIB_DIR}" \
     CFLAGS="-fPIC" \
-    ./configure --prefix=$TP_INSTALL_DIR --enable-static=yes 
+    ./configure --prefix=$TP_INSTALL_DIR --with-included-ltdl --enable-static=yes 
     make -j$PARALLEL && make install
 }
   


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org