[openib-general] OFED 1.2 dapl and dat.conf
Arlin Davis
ardavis at ichips.intel.com
Fri Feb 16 14:38:51 PST 2007
Doug Ledford wrote:
>On Wed, 2007-02-14 at 13:26 -0800, Arlin Davis wrote:
>
>
>>Steve Wise wrote:
>>
>>
>>
>>>Currently, the dapl rpms don't install dat.conf. I think they probably
>>>should, eh? Maybe in <prefix>/etc/dat.conf
>>>
>>>
>>>
>>>
>>my specfile is setup to target sysconfdir which is typically set to
>>`$(prefix)/etc'
>>
>>%{_sysconfdir}/dat.conf
>>
>>I am not sure how the 1.2 scripts are building the rpms. Maybe Vladimir
>>can help explain?
>>
>>
>
>Note that this setup is problematic on multilib arches. Since the
>dat.conf file hard codes a library path that's different for 32bit/64bit
>arches, installing both a 32bit and 64bit dapl library is impossible
>without munging things.
>
>For RHEL4U5/RHEL5 I changed the dat library to read dat<bits>.conf and
>have two separate conf files. A probably better approach would be to
>change the library to use a relative library name that it looks for
>starting from the libraries own directory. Hence if the dapl library is
>in /usr/lib, it looks in /usr/lib. Doing that would allow the
>32bit/64bit libraries to share the same config file.
>
>
>
This is a good idea. I will take a look at dladdr options to set
appropriate starting path for dapl libraries when absolute paths are not
specified.
James, do you see any issues with this approach?
Vladimir, can you tell me how the OFED 1.2 install scripts are handling
the dat.conf?
-arlin
More information about the general
mailing list