Improve installation instructions 95/1095/1
authorRolf Badorek <rolf.badorek@nokia.com>
Wed, 9 Oct 2019 07:58:22 +0000 (10:58 +0300)
committerRolf Badorek <rolf.badorek@nokia.com>
Wed, 9 Oct 2019 07:58:22 +0000 (10:58 +0300)
Added two additional clarifications/tips to README.md file:

1) If SDL API is not installed to system default path, then
'PKG_CONFIG_PATH' needs to be adjusted.

2) In some cases dynamic linker cache needs to refreshed manually
after SDL API has been re-installed.

Signed-off-by: Rolf Badorek <rolf.badorek@nokia.com>
Change-Id: Ib1b657e6e714c2c81b18a4ede7dfb01f539b29ca

README.md

index 96d751e..cca05cd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,7 +61,11 @@ By default the shared library is installed to `/usr/local/lib` and
 headers into to `/usr/local/include`. If this is not desired, then
 provide different path when running `configure`, for example:
 
-    ./configure --prefix=$HOME
+    ./configure --prefix=$HOME/usr/local
+
+In above example SDL pkg-config .pc file is installed to `$HOME/usr/local/lib/pkgconfig`
+directory. This directory should be included to `PKG_CONFIG_PATH` while building
+the application which is using the SDL API library.
 
 Note that `configure` command allows plethora of additional options.
 For more info:
@@ -72,6 +76,11 @@ After configuration has been done, run:
 
     make install
 
+In some cases dynamic linker cache needs to be manually refreshed after SDL API
+has been re-installed:
+
+    ldconfig
+
 ### Redis modules
 
 When Redis is used, SDL requires that the following Redis extension commands