From e6efa896913f9c6d4f4fff8e6a4263fb8a8fa137 Mon Sep 17 00:00:00 2001 From: "huaixin.lmy" Date: Wed, 25 Sep 2024 14:07:13 +0800 Subject: [PATCH] fix grpc cmake gcc error --- rpm/devdeps-grpc-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm/devdeps-grpc-build.sh b/rpm/devdeps-grpc-build.sh index cbca6fc..8991aca 100644 --- a/rpm/devdeps-grpc-build.sh +++ b/rpm/devdeps-grpc-build.sh @@ -60,6 +60,7 @@ else fi export PATH=/usr/local/oceanbase/devtools/bin:$PATH +export LD_LIBRARY_PATH=/usr/local/oceanbase/devtools/lib:/usr/local/oceanbase/devtools/lib64:$LD_LIBRARY_PATH ln -sf /usr/local/oceanbase/devtools/bin/g++ /usr/bin/c++ ln -sf /usr/local/oceanbase/devtools/bin/gcc /usr/bin/cc