You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by la...@apache.org on 2023/06/02 08:43:16 UTC

[incubator-pegasus] branch v2.4 updated: fix: fix start_onebox failed because of libjvm.so not found (#1494) (#1499)

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

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


The following commit(s) were added to refs/heads/v2.4 by this push:
     new 59b43ef53 fix: fix start_onebox failed because of libjvm.so not found (#1494) (#1499)
59b43ef53 is described below

commit 59b43ef5379380f7b2981af5f9cec5b84bc3cad6
Author: Yingchun Lai <la...@apache.org>
AuthorDate: Fri Jun 2 16:43:10 2023 +0800

    fix: fix start_onebox failed because of libjvm.so not found (#1494) (#1499)
    
    https://github.com/apache/incubator-pegasus/issues/1493
    
    Fix rhe bug of "pegasus_server: error while loading shared libraries: libdsn_replica_server.so: cannot open shared object file: No such file or directory".
    It's because that the libjvm.so is not added to $LD_LIBRARY_PATH.
---
 run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.sh b/run.sh
index 06606e678..6b50da1a9 100755
--- a/run.sh
+++ b/run.sh
@@ -24,7 +24,7 @@ LOCAL_HOSTNAME=`hostname -f`
 export REPORT_DIR="$ROOT/test_report"
 export DSN_ROOT=$ROOT/DSN_ROOT
 export THIRDPARTY_ROOT=$ROOT/thirdparty
-export LD_LIBRARY_PATH=$DSN_ROOT/lib:$THIRDPARTY_ROOT/output/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:$DSN_ROOT/lib:$THIRDPARTY_ROOT/output/lib:$LD_LIBRARY_PATH
 
 function usage()
 {


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