rdma-core : make install is removing built libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steps to repro :
1. Clone latest rdma-core from github.

2. Checkout latest master

3. Install dependencies of cmake3, pandoc.

4. Build :
[root@CentOS ~]# cd rdma-core/
[root@CentOS rdma-core]# sh build.sh

5. Execute make in build directory:
[root@CentOS rdma-core]# cd build
[root@CentOS build]# make

[root@CentOS build]# ls -lh lib/librdmacm.so*
lrwxrwxrwx 1 root root   14 Mar  5 00:22 lib/librdmacm.so -> librdmacm.so.1
lrwxrwxrwx 1 root root   21 Mar  5 00:22 lib/librdmacm.so.1 ->
librdmacm.so.1.2.23.0
-rwxr-xr-x 1 root root 404K Mar  5 00:22 lib/librdmacm.so.1.2.23.0

6. Now when we run "make install" it fails :
[root@CentOS build]# make install
-- Installing: /root/rdma-core/build/share/man/man3/ibv_dereg_mr.3
CMake Error at librdmacm/cmake_install.cmake:72 (file):
  file INSTALL cannot find "/root/rdma-core/build/lib/librdmacm.so.1.2.23.0".
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)


make: *** [install] Error 1
[root@CentOS build]#

7. The librdmacm.so.1.2.23.0 library is cleaned-up or deleted :
[root@CentOS build]# ls -lh lib/librdmacm.so*
lrwxrwxrwx 1 root root 14 Mar  5 00:22 lib/librdmacm.so -> librdmacm.so.1
lrwxrwxrwx 1 root root 21 Mar  5 00:22 lib/librdmacm.so.1 ->
librdmacm.so.1.2.23.0

[root@CentOS build]# git describe
v22-118-g0ea43f6
[root@CentOS build]# uname -r
5.0.0-rc8
[root@CentOS build]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)


--
Cheers
Manu K S



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux