Skip to contentSkip to conversation

re librdmacm-devel dependency on librdmacm

DISCUSSION Or Gerlitz 6 participants 8 messages Feb 2, 2011 5 messages not in the archive InfiniBand

lore
Share & tools
lore

Or Gerlitz

author
#0 lore raw

Hi Sean,

I just realized the librdmacm-devel (version 1.0.8-5.el5 is installed on the system I hit that) is dependent on librdmacm, and wasn't sure if its a bug or a feature... the dependency is created through /usr/lib64/librdmacm.so which is soft link to the obj file installed by librdmacm.

Or.

Quoted 12 lines

[root@celery ~]# rpm -qR librdmacm-devel libibverbs-devel >= 1.1
librdmacm = 1.0.8-5.el5 librdmacm.so.1()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [root@celery ~]# rpm -ql librdmacm-devel | grep -v man /usr/include/rdma /usr/include/rdma/rdma_cma.h /usr/include/rdma/rdma_cma_abi.h /usr/lib64/librdmacm.so
[root@celery ~]# ls -l /usr/lib64/librdmacm*

Quoted 3 lines
lrwxrwxrwx 1 root root    18 Feb  2 12:22 /usr/lib64/librdmacm.so -> librdmacm.so.1.0.0
lrwxrwxrwx 1 root root    18 Feb  2 12:22 /usr/lib64/librdmacm.so.1 -> librdmacm.so.1.0.0

-rwxr-xr-x 1 root root 21376 Jun 22 2009 /usr/lib64/librdmacm.so.1.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4D4934FA.8070905-smomgflXvOZWk0Htik3J/[email protected]

#2 lore raw
Quoted 5 lines

I just realized the librdmacm-devel (version 1.0.8-5.el5 is installed on the system I hit that) is dependent on librdmacm, and wasn't sure if its a bug or a feature... the dependency is created through /usr/lib64/librdmacm.so which is soft link to the obj file installed by librdmacm.

What is librdmacm-devel?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C2C-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org

author
#4 lore raw
Quoted 1 line · Sean

What is librdmacm-devel?

as the name suggests... package for developers

Or.

Quoted 40 lines

[root@celery ~]# rpm -qi librdmacm-devel
Name : librdmacm-devel Relocations: (not relocatable)
Version : 1.0.8 Vendor: Red Hat, Inc.
Release : 5.el5 Build Date: Mon 22 Jun 2009 05:36:27 PM IDT
Install Date: Wed 02 Feb 2011 03:05:06 PM IST Build Host: hs20-bc1-2.build.redhat.com
Group : System Environment/Libraries Source RPM: librdmacm-1.0.8-5.el5.src.rpm
Size : 45934 License: GPL/BSD
Signature : DSA/SHA1, Thu 16 Jul 2009 08:14:31 AM IDT, Key ID 5326810137017186
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.openfabrics.org/
Summary : RDMA cm library header files
Description :
RDMA cm library header files.

[root@celery ~]# rpm -ql librdmacm-devel /usr/include/rdma /usr/include/rdma/rdma_cma.h /usr/include/rdma/rdma_cma_abi.h /usr/lib64/librdmacm.so /usr/share/man/man3/rdma_accept.3.gz /usr/share/man/man3/rdma_ack_cm_event.3.gz /usr/share/man/man3/rdma_bind_addr.3.gz /usr/share/man/man3/rdma_connect.3.gz /usr/share/man/man3/rdma_create_event_channel.3.gz /usr/share/man/man3/rdma_create_id.3.gz /usr/share/man/man3/rdma_create_qp.3.gz /usr/share/man/man3/rdma_destroy_event_channel.3.gz /usr/share/man/man3/rdma_destroy_id.3.gz /usr/share/man/man3/rdma_destroy_qp.3.gz /usr/share/man/man3/rdma_disconnect.3.gz /usr/share/man/man3/rdma_event_str.3.gz /usr/share/man/man3/rdma_free_devices.3.gz /usr/share/man/man3/rdma_get_cm_event.3.gz /usr/share/man/man3/rdma_get_devices.3.gz /usr/share/man/man3/rdma_get_dst_port.3.gz /usr/share/man/man3/rdma_get_local_addr.3.gz /usr/share/man/man3/rdma_get_peer_addr.3.gz /usr/share/man/man3/rdma_get_src_port.3.gz /usr/share/man/man3/rdma_join_multicast.3.gz /usr/share/man/man3/rdma_leave_multicast.3.gz

Quoted 8 lines

/usr/share/man/man3/rdma_listen.3.gz
/usr/share/man/man3/rdma_migrate_id.3.gz
/usr/share/man/man3/rdma_notify.3.gz
/usr/share/man/man3/rdma_reject.3.gz
/usr/share/man/man3/rdma_resolve_addr.3.gz
/usr/share/man/man3/rdma_resolve_route.3.gz
/usr/share/man/man3/rdma_set_option.3.gz
/usr/share/man/man7/rdma_cm.7.gz

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4D497BA7.9070701-smomgflXvOZWk0Htik3J/[email protected]

#6 lore raw
Quoted 10 lines
Quoted 1 line

What is librdmacm-devel?

as the name suggests... package for developers

Or.

Quoted 4 lines

[root@celery ~]# rpm -qi librdmacm-devel
Name : librdmacm-devel Relocations: (not relocatable)
Version : 1.0.8 Vendor: Red Hat, Inc.
Release : 5.el5 Build Date: Mon 22 Jun 2009

Quoted 13 lines

05:36:27 PM IDT

Quoted 1 line

Install Date: Wed 02 Feb 2011 03:05:06 PM IST Build Host: hs20-bc1-

2.build.redhat.com

Quoted 1 line

Group : System Environment/Libraries Source RPM: librdmacm-1.0.8-

5.el5.src.rpm

Quoted 2 lines

Size : 45934 License: GPL/BSD
Signature : DSA/SHA1, Thu 16 Jul 2009 08:14:31 AM IDT, Key ID

5326810137017186

Quoted 5 lines

Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.openfabrics.org/
Summary : RDMA cm library header files
Description :
RDMA cm library header files.

This is Red Hat's package, not mine, so I think they would need to answer this. I guess I don't understand the problem, but why wouldn't the developer package depend on the real library? Does libibverbs have a similar devel package? --
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C85-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org

#8 lore raw
Quoted 4 lines

This is Red Hat's package, not mine, so I think they would need to answer this. I guess I don't understand the problem, but why wouldn't the developer package depend on the real library? Does libibverbs have a similar devel package? --

Every devel package I have ever used has depended on the underlying library. A-lot of times the developer packages might include the header files, etc.

I don't work for Red Hat but I don't think there's any issue here.

Signature · 3 lines
Greg Kerr
Northeastern University
High Performance Computing Laboratory
Quoted 42 lines · Sean
Quoted 22 lines
Quoted 1 line

What is librdmacm-devel?

as the name suggests... package for developers

Or.

Quoted 5 lines

[root@celery ~]# rpm -qi librdmacm-devel
Name : librdmacm-devel Relocations: (not
relocatable) Version : 1.0.8 Vendor:
Red Hat, Inc. Release : 5.el5 Build Date:
Mon 22 Jun 2009

05:36:27 PM IDT

Quoted 2 lines

Install Date: Wed 02 Feb 2011 03:05:06 PM IST Build Host:
hs20-bc1-

2.build.redhat.com

Quoted 2 lines

Group : System Environment/Libraries Source RPM:
librdmacm-1.0.8-

Quoted 12 lines

5.el5.src.rpm

Quoted 2 lines

Size : 45934 License: GPL/BSD
Signature : DSA/SHA1, Thu 16 Jul 2009 08:14:31 AM IDT, Key ID

5326810137017186

Quoted 5 lines

Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.openfabrics.org/
Summary : RDMA cm library header files
Description :
RDMA cm library header files.

This is Red Hat's package, not mine, so I think they would need to answer this. I guess I don't understand the problem, but why wouldn't the developer package depend on the real library? Does libibverbs have a similar devel package? --
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
Greg Kerr
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#9 lore raw
In reply to a message not in the archive
Quoted 2 lines · Sean

I guess I don't understand the problem, but why wouldn't the developer package depend on the real library?

In a 2nd thought, this dependancy isn't so terrible, and maybe even the usual track for such packages, thx anyway.

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#10 lore raw
In reply to a message not in the archive
Quoted 8 lines · Or Gerlitz

Hi Sean,

I just realized the librdmacm-devel (version 1.0.8-5.el5 is installed on the system I hit that) is dependent on librdmacm, and wasn't sure if its a bug or a feature... the dependency is created through /usr/lib64/librdmacm.so which is soft link to the obj file installed by librdmacm.

This is a normal policy for RPM based distributions. I believe deb based distributions do something different, but don't recall the details.

Regards
-steve

Quoted 11 lines

Or.

Quoted 9 lines

[root@celery ~]# rpm -qR librdmacm-devel libibverbs-devel >= 1.1
librdmacm = 1.0.8-5.el5 librdmacm.so.1()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [root@celery ~]# rpm -ql librdmacm-devel | grep -v man /usr/include/rdma /usr/include/rdma/rdma_cma.h

Quoted 12 lines
Quoted 8 lines

/usr/include/rdma/rdma_cma_abi.h
/usr/lib64/librdmacm.so
[root@celery ~]# ls -l /usr/lib64/librdmacm*
lrwxrwxrwx 1 root root 18 Feb 2 12:22 /usr/lib64/librdmacm.so ->
librdmacm.so.1.0.0
lrwxrwxrwx 1 root root 18 Feb 2 12:22 /usr/lib64/librdmacm.so.1 ->
librdmacm.so.1.0.0
-rwxr-xr-x 1 root root 21376 Jun 22 2009 /usr/lib64/librdmacm.so.1.0.0

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw
Quoted 10 lines · Steven Dake
Quoted 8 lines · Or Gerlitz

Hi Sean,

I just realized the librdmacm-devel (version 1.0.8-5.el5 is installed on the system I hit that) is dependent on librdmacm, and wasn't sure if its a bug or a feature... the dependency is created through /usr/lib64/librdmacm.so which is soft link to the obj file installed by librdmacm.

Quoted 2 lines

This is a normal policy for RPM based distributions. I believe deb based distributions do something different, but don't recall the details.

DEB is the same. The linker requires the actual .so to be able to link, so a -devel package without a corrisponding (MATCHING) lib package is useless.

$ apt-cache show libibverbs-dev 
Package: libibverbs-dev
Priority: extra
Section: libdevel
Installed-Size: 364
Maintainer: Ubuntu MOTU Developers <[email protected]>
Original-Maintainer: Roland Dreier <[email protected]>
Architecture: amd64
Source: libibverbs
Version: 1.1.3-2ubuntu1
Depends: libibverbs1 (= 1.1.3-2ubuntu1)

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html