Re: [EXTERNAL] Re: Find rdma-core version

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

 



Hey Ju,

On 3/17/20 2:32 PM, Ju-Hyoung Lee wrote:
> My original  rdma-core version was 22 then but it still shows after installed rdma-core-28.
> 
> This is my log of the original state.
> dependency-vm:~ # ldd `which ibv_devices`
>         linux-vdso.so.1 (0x00007ffdeb7ec000)
>         libibverbs.so.1 => /usr/lib64/libibverbs.so.1 (0x00007f68c7ecd000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f68c7b12000)
>         libnl-route-3.so.200 => /usr/lib64/libnl-route-3.so.200 (0x00007f68c789c000)
>         libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00007f68c767a000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f68c745b000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f68c7257000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f68c82e9000)
> dependency-vm:~ # ls -al /usr/lib64/libibverbs.so.1
> lrwxrwxrwx 1 root root 22 Dec  9 12:31 /usr/lib64/libibverbs.so.1 -> libibverbs.so.1.5.22.5
> dependency-vm:~ #
> 
> After build.sh in rdma-core-28.0, 

build.sh builds rdma-core locally and doesn't install it in the system.

you can do: ls -al build/lib/libibverbs.so.1
note you can also run the binaries this way,
for example from the root rdma-core dir:
./build/bin/ibv_devinfo

Mark

> 
> dependency-vm:~/rdma-core-28.0 # ls -al /usr/lib64/libibverbs.so.1
> lrwxrwxrwx 1 root root 22 Dec  9 12:31 /usr/lib64/libibverbs.so.1 -> libibverbs.so.1.5.22.5
> 
> -----Original Message-----
> From: Jason Gunthorpe <jgg@xxxxxxxx> 
> Sent: Tuesday, March 17, 2020 12:46 PM
> To: Ju-Hyoung Lee <juhlee@xxxxxxxxxxxxx>
> Cc: linux-rdma@xxxxxxxxxxxxxxx
> Subject: [EXTERNAL] Re: Find rdma-core version
> 
> On Tue, Mar 17, 2020 at 05:23:28AM +0000, Ju-Hyoung Lee wrote:
>> Hi,
>>
>> Can anyone help me find what rdma-core version I installed in the 
>> system? It's a set of lib and utilities, but there might be a way I 
>> can verify the version after the official release installation.  Any 
>> help?
> 
> $ ldd `which ibv_devinfo`
> 	linux-vdso.so.1 (0x00007ffc63bd6000)
> 	libibverbs.so.1 => /lib64/libibverbs.so.1 (0x00007f3de67c4000) [..]
> 
> $ ls -l /lib64/libibverbs.so.1
> lrwxrwxrwx 1 root root 22 Mar  6 19:43 /lib64/libibverbs.so.1 -> libibverbs.so.1.7.27.0*
>                                                                                   ^^^^
> 
> rdma-core version is 27
> 
> Jason
> 



[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