On Sat, Jun 25, 2011 at 12:52:02PM +0200, Alexandre Ratchov wrote:
> There's code (eg. audio/openal, but not only) that does:
> 
>       dlopen("libsndio.so", ...);
> 
> and then calls dlsym() for each function and so on. What's the point
> of doing this instead of simply linking the binary with -lsndio and
> using functions normally?
> 
> hints?

Misplaced portability concerns from upstreams, and ETOOMUCHWORK from the
porter.

If it's not too intrusive, telling upstream to forget about old OpenBSD
versions and doing the normal linking thing is the way to go.

(We have similar code in qt4 vs. openssl, but since it's reasonably clean
and hugely intrusive, we left it that way).

Reply via email to