Quoting r. Gleb Natapov <[EMAIL PROTECTED]>: > Subject: Re: [PATH] problem dlopen libibverbs.so > > On Wed, Jul 20, 2005 at 05:57:28PM +0300, Michael S. Tsirkin wrote: > > Quoting r. Gleb Natapov <[EMAIL PROTECTED]>: > > > Subject: Re: [PATH] problem dlopen libibverbs.so > > > > > > On Wed, Jul 20, 2005 at 05:24:22PM +0300, Michael S. Tsirkin wrote: > > > > Quoting r. Gleb Natapov <[EMAIL PROTECTED]>: > > > > > It appears that libmthca relies on back linking to find symbols from > > > > > libibverbs but back linking doesn't work in the later case. > > > > > > > > > > I linked libmthca with libibverbs and this solved the problem. > > > > > > > > I wander, however, what happends if you load libibverbs from path > > > > a, and mthca is linked with libibverbs from path b? > > > > Any idea? > > > > > > If two libibverbs are different it can fail or even crash I think. > > > This is the same as if libibverb tries to load libmthca compiled from > > > different svn revision. > > > > May be a problem then: it might be quite hard to debug such crashes. > > Like any other problem caused by mismatched libraries.
Right, but I think we dont want another dependency if it can work without it. > > What about passing RTLD_GLOBAL to dlopen, instead? > > The strange thing is it doesn't work, but it should according to man > page. Better debug it then. -- MST _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general