View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 09:24 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: Correct usage of RTLD_GLOBAL flag?

"Anunay" <anunaygupta@gmail.com> writes:

> Some of my applications are dumping core when I am trying to dlopen


Look for a bug *in the application* (or a common library all of the
"crashing" applications share).

> Combination 1: RTLD_LAZY | RTLD_GLOBAL
> Combination 2: RTLD_NOW | RTLD_GLOBAL


There is nothing wrong with the above combinations.

> And when I remove the RTLD_GLOBAL flag, keeping the -brtl option, the
> application works fine.


Coincidence, most likely.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Reply With Quote