jxh-cuit opened a new issue, #36887: URL: https://github.com/apache/arrow/issues/36887
### Describe the bug, including details regarding any error messages, version, and platform. When I use this command to compiler flight_grpc_exampls.cc **g++ flight_grpc_example.cc helloworld.grpc.pb.cc helloworld.pb.cc -o server -I/home/jxh/arrow/cpp/build/protobuf_ep-install/include/ -I/home/jxh/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep/include/ -I/home/jxh/arrow/cpp/build/grpc_ep-install/include -I/home/jxh/arrow/cpp/ -std=c++17 -L/home/jxh/arrow/cpp/build/grpc_ep-install/lib/ -lgrpca -L/home/jxh/arrow/cpp/build/absl_ep-install/lib/ -labsl -L/home/jxh/openssl-3.0.0/ -lssl -lcrypto -L/home/jxh/arrow/cpp/build/debug/ -larrow_flight -larrow -L/home/jxh/arrow/cpp/build/re2_ep-install/lib/ -lre2 -L/home/jxh/arrow/cpp/build/protobuf_ep-install/lib/ -lprotobuf -lprotoc -L/home/jxh/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/ -lgflags_debug -I./ -L/home/jxh/arrow/cpp/build/cares_ep-install/lib/ -lcares -L/home/jxh/arrow/cpp/build/zlib_ep/src/zlib_ep-install/lib/ -lz -I/home/jxh/arrow/cpp/build/absl_ep-install/include/ -L/home/jxh/arrow/cpp/build/debug/ -larrow_flight** I have staticlly linked libarrow_flight.a, but when I run this server I still got: **./server -port 5000 ./server: error while loading shared libraries: libarrow_flight.so.1300: cannot open shared object file: No such file or directory** Why this still happen? ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
