All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there a simple way to install rdma-core other than making a package?
@ 2020-08-12  3:41 Bob Pearson
  2020-08-12  5:57 ` Leon Romanovsky
  2020-08-12 17:14 ` Bart Van Assche
  0 siblings, 2 replies; 6+ messages in thread
From: Bob Pearson @ 2020-08-12  3:41 UTC (permalink / raw)
  To: linux-rdma, jgg

There doesn't seem to be a documented way to make install rdma-core, at least in the README file. However trying the obvious

$ bash build.sh
$ cd build
$ sudo make install

seems to work, almost. After a few 100 lines of promising output I get

CMake Error at librdmacm/cmake_install.cmake:76 (file):
  file INSTALL cannot find
  "/home/rpearson/src/rdma-core-git/build/lib/librdmacm.so.1.3.31.0": No such
  file or directory.

Looking I see

# ls -l build/lib

....

-rwxrwxr-x 1 rpearson rpearson  263384 Aug 10 12:31 libqedr-rdmav25.so
lrwxrwxrwx 1 rpearson rpearson      14 Aug 10 12:31 librdmacm.so -> librdmacm.so.1
lrwxrwxrwx 1 rpearson rpearson      21 Aug 10 12:31 librdmacm.so.1 -> librdmacm.so.1.3.31.0
-rwxrwxr-x 1 rpearson rpearson  138536 Aug 10 12:31 librspreload.so
-rwxrwxr-x 1 rpearson rpearson  112488 Aug 10 12:32 librxe-rdmav25.so

....

with no librdmacm.so.1.3.31.0 as advertised. On the other hand if you stop after bash build.sh and before make install you get:

-rwxrwxr-x 1 rpearson rpearson  263384 Aug 10 12:31 libqedr-rdmav25.so
lrwxrwxrwx 1 rpearson rpearson      14 Aug 10 12:31 librdmacm.so -> librdmacm.so.1
lrwxrwxrwx 1 rpearson rpearson      21 Aug 10 12:31 librdmacm.so.1 -> librdmacm.so.1.3.31.0
-rwxrwxr-x 1 rpearson rpearson  608632 Aug 10 12:31 librdmacm.so.1.3.31.0
-rwxrwxr-x 1 rpearson rpearson  138536 Aug 10 12:31 librspreload.so

So the make install seems to be deleting the .so file. Nothing like this is happening to the other libraries. 

Any help would be appreciated. I would like to be able to install this version of rdma-core on the system.

Bob Pearson

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-14 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-12  3:41 Is there a simple way to install rdma-core other than making a package? Bob Pearson
2020-08-12  5:57 ` Leon Romanovsky
2020-08-13 14:29   ` Bob Pearson
2020-08-12 17:14 ` Bart Van Assche
2020-08-13 14:29   ` Bob Pearson
2020-08-14 15:44   ` Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.