From 6fb4c79784ae99a0842b1b155eecafe4cd05ae26 Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Mon, 14 Sep 2020 17:29:53 -0500 Subject: [PATCH] Update README with ldconfig instructions Change-Id: Id033122d0b2f74b52a95a2ace99889c5d090cab3 (cherry picked from commit 29a3aee72f9546743d25ebae8c356b33933d3657) --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0995007ee..c88f3b4961 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ The following tools are required for gRPC build & installation $ make $ sudo make install $ echo "/lib" | sudo tee /etc/ld.so.conf.d/grpc.conf - $ sudo ldconfig ## Building RDC @@ -70,6 +69,17 @@ Clone the RDC source code from GitHub and use CMake to build and install $ make $ make install ## default installation location is /opt/rocm +## Update System Library Path + +The following commands need to be executed as root (sudo). It may be easiest to put them into a script and then run that script as root: + + $ RDC_LIB_DIR=/lib + $ GRPC_LIB_DIR=/lib + $ echo "$GRPC_LIB_DIR" > /etc/ld.so.conf.d/x86_64-librdc_client.conf + $ echo "$GRPC_LIB_DIR"64 >> /etc/ld.so.conf.d/x86_64-librdc_client.conf + $ echo "$RDC_LIB_DIR" >> /etc/ld.so.conf.d/x86_64-librdc_client.conf + $ echo "$RDC_LIB_DIR"64 >> /etc/ld.so.conf.d/x86_64-librdc_client.conf + $ ldconfig # Running RDC RDC supports encrypted communications between clients and servers. The