[openib-general] Re: [PATCH] rdma_lat-09 and results

Michael S. Tsirkin mst at mellanox.co.il
Thu Jun 23 09:40:02 PDT 2005


Quoting r. Roland Dreier <roland at topspin.com>:
> Subject: Re: [PATCH] rdma_lat-09 and results
> 
>     Michael> Currently I want to be able to script linking mthca.a
>     Michael> statically.

At least for this usage, I think it would be best to rename
mthca.a (and mthca.so) to libmthca.a (and libmthca.so), respectively,
and put them in libpath, then softlink libmthca.so to infiniband
directory.

This avoids the need for such utilities.
Would you accept such a change?

>     Michael> In the future I can imagine someone might want to script
>     Michael> installing additional plugins into an existing system.
> 
> I'm not sure this makes sense.  libibverbs has a certain default path
> but users can easily override it by setting the OPENIB_DRIVER_PATH
> environment variable.  For example, I often compile libmthca but don't
> install it, and then point OPENIB_DRIVER_PATH at my source directory.

Hmm, this would be a security problem if someone sets suid bit on programs
using uverbs.

> Is there any way we can use an existing tool like pkg-config to help
> with this situation?
> 
>  - R.
> 

Donnu, that  would be distro-specific, wont it?
E.g. perl and tcl do their own.

-- 
MST



More information about the general mailing list