On Wed, Jul 18, 2012 at 4:26 PM, David Sommerseth > Agreed, this
sounds like a feature regression.
>
> Dynamic loading requires dlopen() and such (provided by libdl) and
> when compiled non-static, all this dlopen() stuff happens
> automatically, as the linker have instructed the binary what to load
> and which symbols to prepare for.
>
> However, when building statically, I presume you need to explicit link
> in libdl, to get those support functions - all the symbol lookup
> anyway needs to be tackled by the application.  But static builds
> should not exclude the plug-in feature.

1. ELF does not allow static image to use dynamic bindings.
Try this at previous versions, if you get this working please notify me.

2. There is no restriction of building and linking static dependencies
with dynamic module, as long as they share the same PIC state.

Alon.

Reply via email to