[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dlopen vs. (dynamic) linking at build

From: Kozma, Endre
Subject: dlopen vs. (dynamic) linking at build
Date: Sun, 26 Oct 2014 19:42:32 +0100

When developing octave packages you sometimes need to use services of
special libraries. The question emerges whether dlopen or (dynamic)
linking to the package binaries should be applied. The first method
seems to be a bit more flexible regarding fault cases. If the library
irrecoverably fails and it would be good to restart it, then the
packages could do it by itself (by dlclose e.g.). Another advantage is
that you this way could deliver binary package without the library. Of
course the user will still have to install the library to be able to
use the package, but it does not affect the package installation. What
do you think?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]