diff mbox

[ndctl] build: fix recommended build procedure

Message ID 147432229981.5430.5565783441765433672.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Williams Sept. 19, 2016, 9:58 p.m. UTC
Hideaki Kimura reports that the default build instructions do not result
in a usable build.

    $ ndctl --version
    ndctl: error while loading shared libraries: libndctl.so.6: cannot
        open shared object file: No such file or directory

Use the default recommended configure options from autogen.sh.

Reported-by: Hideaki Kimura <hideaki.kimura@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 README.md |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/README.md b/README.md
index 7256c2f15e20..e9dec67a0ea2 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@  sub-system in the Linux kernel
 Build
 =====
 `./autogen.sh`  
-`./configure --enable-local`  
+`./configure CFLAGS='-g -O0' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64`  
 `make`  
 `make check`  
 `sudo make install`