Jason Gunthorpe wrote:
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
This was the issue. My library wasn't explicitly linking via
-libverbs. When I added that, it worked.
But how did it manage to link to the old version I wonder?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html