All of lore.kernel.org
 help / color / mirror / Atom feed
* re librdmacm-devel dependency on librdmacm
@ 2011-02-02 10:42 Or Gerlitz
       [not found] ` <4D4934FA.8070905-smomgflXvOZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2011-02-02 10:42 UTC (permalink / raw)
  To: sean.hefty-ral2JQCrhuEAvxtiuMwx3w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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.

> [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*
> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: re librdmacm-devel dependency on librdmacm
       [not found] ` <4D4934FA.8070905-smomgflXvOZWk0Htik3J/w@public.gmane.org>
@ 2011-02-02 15:24   ` Hefty, Sean
       [not found]     ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C2C-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  2011-02-02 22:40   ` Steven Dake
  1 sibling, 1 reply; 8+ messages in thread
From: Hefty, Sean @ 2011-02-02 15:24 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: re librdmacm-devel dependency on librdmacm
       [not found]     ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C2C-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2011-02-02 15:43       ` Or Gerlitz
       [not found]         ` <4D497BA7.9070701-smomgflXvOZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2011-02-02 15:43 UTC (permalink / raw)
  To: Hefty, Sean; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hefty, Sean wrote:
> What is librdmacm-devel?

as the name suggests... package for developers

Or.

> [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
> /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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: re librdmacm-devel dependency on librdmacm
       [not found]         ` <4D497BA7.9070701-smomgflXvOZWk0Htik3J/w@public.gmane.org>
@ 2011-02-02 15:55           ` Hefty, Sean
       [not found]             ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C85-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Hefty, Sean @ 2011-02-02 15:55 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

> > What is librdmacm-devel?
> 
> as the name suggests... package for developers
> 
> Or.
> 
> > [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.

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: re librdmacm-devel dependency on librdmacm
       [not found]             ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C85-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2011-02-02 16:54               ` Greg Kerr
  2011-02-02 19:30               ` Or Gerlitz
  1 sibling, 0 replies; 8+ messages in thread
From: Greg Kerr @ 2011-02-02 16:54 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

> 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.

-- 
Greg Kerr
Northeastern University
High Performance Computing Laboratory

On Wednesday, February 02, 2011 10:55:10 am Hefty, Sean wrote:
> > > What is librdmacm-devel?
> > 
> > as the name suggests... package for developers
> > 
> > Or.
> > 
> > > [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.
> 
> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Greg Kerr
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: re librdmacm-devel dependency on librdmacm
       [not found]             ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C85-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  2011-02-02 16:54               ` Greg Kerr
@ 2011-02-02 19:30               ` Or Gerlitz
  1 sibling, 0 replies; 8+ messages in thread
From: Or Gerlitz @ 2011-02-02 19:30 UTC (permalink / raw)
  To: Hefty, Sean; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hefty, Sean <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: re librdmacm-devel dependency on librdmacm
       [not found] ` <4D4934FA.8070905-smomgflXvOZWk0Htik3J/w@public.gmane.org>
  2011-02-02 15:24   ` Hefty, Sean
@ 2011-02-02 22:40   ` Steven Dake
       [not found]     ` <4D49DD4E.4070904-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Steven Dake @ 2011-02-02 22:40 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: sean.hefty-ral2JQCrhuEAvxtiuMwx3w, linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 02/02/2011 03:42 AM, Or Gerlitz wrote:
> 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

> Or.
> 
>> [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*
>> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: re librdmacm-devel dependency on librdmacm
       [not found]     ` <4D49DD4E.4070904-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-02-02 22:47       ` Jason Gunthorpe
  0 siblings, 0 replies; 8+ messages in thread
From: Jason Gunthorpe @ 2011-02-02 22:47 UTC (permalink / raw)
  To: Steven Dake
  Cc: Or Gerlitz, sean.hefty-ral2JQCrhuEAvxtiuMwx3w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Wed, Feb 02, 2011 at 03:40:14PM -0700, Steven Dake wrote:
> On 02/02/2011 03:42 AM, Or Gerlitz wrote:
> > 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.

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 <ubuntu-motu-nLRlyDuq1AZFpShjVBNYrg@public.gmane.org>
Original-Maintainer: Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-02-02 22:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 10:42 re librdmacm-devel dependency on librdmacm Or Gerlitz
     [not found] ` <4D4934FA.8070905-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2011-02-02 15:24   ` Hefty, Sean
     [not found]     ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C2C-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-02-02 15:43       ` Or Gerlitz
     [not found]         ` <4D497BA7.9070701-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2011-02-02 15:55           ` Hefty, Sean
     [not found]             ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC0C1C85-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-02-02 16:54               ` Greg Kerr
2011-02-02 19:30               ` Or Gerlitz
2011-02-02 22:40   ` Steven Dake
     [not found]     ` <4D49DD4E.4070904-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-02-02 22:47       ` 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.