|
From: | Jason Rumney |
Subject: | Re: dynamic loading of the imagemagic library? |
Date: | Tue, 11 Aug 2009 22:36:17 +0800 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
address@hidden wrote:
Is it ok to use dlopen and dlsym for imagemagick loading on gnu/linux platforms? I presume yes, but since I only dimly understand why dynamic use of external libraries is problematic, I ask.
Linking to Free libraries is not problematic, making a generalized API to allow arbritrary libraries to be dynamically loaded might be. The reason w32 uses dynamic linking for the image libraries is that there is no equivalent of apt/deb, rpm, BSD ports or fink on w32, so it is better for the users if we don't fail to run when non-essential dependencies are missing.
[Prev in Thread] | Current Thread | [Next in Thread] |