Re: libibverbs and versions

Jason Gunthorpe
2010-06-02T17:32:45Z

On Wed, Jun 02, 2010 at 10:50:56AM -0500, Steve Wise wrote:

> I have this library I'm writing that uses libibverbs. Somehow it seems
> to be using the 1.0 version instead of the newer version (I'm guessing).
> When I call ibv_create_cq() I get a seg fault and the stack looks like
> this:

Make sure you link your library to libibverbs and do not rely on
linking the app to libibverbs to resolve the symbols. Check with
ldd foo.so

Jason