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

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


The following commit(s) were added to refs/heads/master by this push:
     new edc5b532e fix(tcmalloc): add the version number as the missing postfix 
for libtcmalloc_and_profiler.so.* otherwise it would never be linked (#1858)
edc5b532e is described below

commit edc5b532e9c3488d5b1ac5494e2054ba9d4affcd
Author: Dan Wang <[email protected]>
AuthorDate: Thu Jan 18 12:46:04 2024 +0800

    fix(tcmalloc): add the version number as the missing postfix for 
libtcmalloc_and_profiler.so.* otherwise it would never be linked (#1858)
    
    #1848
    
    Copy libtcmalloc_and_profiler.so.4 instead of libtcmalloc_and_profiler.so
    while packaging binaries and libraries, otherwise tcmalloc library in 
package
    would never be linked while running Pegasus.
---
 scripts/pack_server.sh | 2 +-
 scripts/pack_tools.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/pack_server.sh b/scripts/pack_server.sh
index 2944d975d..2ff6e8446 100755
--- a/scripts/pack_server.sh
+++ b/scripts/pack_server.sh
@@ -119,7 +119,7 @@ if [ "$use_jemalloc" == "on" ]; then
     copy_file ./thirdparty/output/lib/libjemalloc.so.2 ${pack}/bin
     copy_file ./thirdparty/output/lib/libprofiler.so.0 ${pack}/bin
 else
-    copy_file ./thirdparty/output/lib/libtcmalloc_and_profiler.so ${pack}/bin
+    copy_file ./thirdparty/output/lib/libtcmalloc_and_profiler.so.4 ${pack}/bin
 fi
 
 copy_file ./thirdparty/output/lib/libboost*.so.1.69.0 ${pack}/bin
diff --git a/scripts/pack_tools.sh b/scripts/pack_tools.sh
index c3cc9e5d2..efc9ea59d 100755
--- a/scripts/pack_tools.sh
+++ b/scripts/pack_tools.sh
@@ -128,7 +128,7 @@ if [ "$use_jemalloc" == "on" ]; then
     copy_file ./thirdparty/output/lib/libjemalloc.so.2 ${pack}/lib/
     copy_file ./thirdparty/output/lib/libprofiler.so.0 ${pack}/lib/
 else
-    copy_file ./thirdparty/output/lib/libtcmalloc_and_profiler.so ${pack}/lib/
+    copy_file ./thirdparty/output/lib/libtcmalloc_and_profiler.so.4 
${pack}/lib/
 fi
 
 copy_file ./thirdparty/output/lib/libboost*.so.1.69.0 ${pack}/lib/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to