[openib-general] OFED 1.2 dapl and dat.conf
Vladimir Sokolovsky
vlad at mellanox.co.il
Tue Feb 20 07:44:49 PST 2007
On Tue, 2007-02-20 at 10:21 -0500, Doug Ledford wrote:
> On Tue, 2007-02-20 at 17:05 +0200, Vladimir Sokolovsky wrote:
> > > > Vladimir, can you tell me how the OFED 1.2 install scripts are
> > > > handling the dat.conf?
> > > >
> > > > -arlin
> > > >
> >
> > dat.conf updated by rpmbuild process:
> > /usr/lib is replaced by %{_libdir} (<prefix>/lib for x86, ppc, ia64 and <prefix>/lib64 otherwise).
>
> Which creates a multilib regression, aka when you install both the i386
> and x86_64 versions of the dapl rpm, they both contain a dat.conf file
> at the same location in the filesystem, but with different contents.
> Whether you get the 32bit or 64bit version of the dat.conf file depends
> on which is installed later. Correspondingly, whichever version of the
> library was installed first will be rendered inoperative by this problem
> as it will be either a 32 or 64bit library that is searching for a
> provider library, and the one it finds will be the opposite arch type of
> itself, thereby preventing the dapl library from doing a dlopen on the
> file. Therefore, whatever version of the dapl library is installed
> first will no longer be able to find any valid provider libraries. This
> is considered an error condition by our automated package testing tools
> and we are not allowed to ship a package in this state.
>
I can create /etc/dat32.conf and /etc/dat64.conf.
Currently, in the OFED there is no separation to 32 and 64 bit RPMs.
That is on x86_64, fot example, if 32bit libraries compilation succeeded
then both 32 and 64bit libraries will be a part of the same RPM.
--
Vladimir Sokolovsky <vlad at mellanox.co.il>
Mellanox Technologies Ltd.
More information about the general
mailing list