[vlc-devel] [patch] Alter symbol-globalising dlopen(RTLD_NOLOAD) call to succeed

jpd at m2x.nl jpd at m2x.nl
Thu Feb 12 13:09:03 CET 2009

On Thu, February 12, 2009 10:31 am, R\xc3\x83\xc2\xa9mi Denis-Courmont wrote:
> On Wed, 11 Feb 2009 22:07:06 +0100 (CET), jpd at m2x.nl wrote:
>> Always run dlopen(vlccore,RTLD_NOLOAD) when available and add RTLD_NOW
>> to prevent the call from failing with an invalid argument error.
> This patch is wrong. We don't want to load libvlccore
> unconditionnally. Otherwise, we would link plugins against it in the
> first place, and get rid of this hack altogether.

As you'll note, RTLD_NOLOAD is still set. If you know of a better way to
make dlopen() succeed without RTLD_NOW _or_ RTLD_LAZY, I'd love to hear

More information about the vlc-devel mailing list