From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: dynamic loading of the imagemagic library? Date: Tue, 11 Aug 2009 19:57:49 +0200 Message-ID: References: <4A8181E1.3020701@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250013860 1233 80.91.229.12 (11 Aug 2009 18:04:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 18:04:20 +0000 (UTC) Cc: Emacs Development To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 11 20:04:13 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mavhc-0001t9-EG for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 20:04:05 +0200 Original-Received: from localhost ([127.0.0.1]:45528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mavha-0006mV-TO for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 14:04:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mavbm-0004w8-4v for emacs-devel@gnu.org; Tue, 11 Aug 2009 13:58:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mavbg-0004tA-Ep for emacs-devel@gnu.org; Tue, 11 Aug 2009 13:58:00 -0400 Original-Received: from [199.232.76.173] (port=51198 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mavbg-0004sx-77 for emacs-devel@gnu.org; Tue, 11 Aug 2009 13:57:56 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:50424 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mavbd-0002fs-3U; Tue, 11 Aug 2009 13:57:53 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id n7BHvnFK006194; Tue, 11 Aug 2009 19:57:49 +0200 In-Reply-To: <4A8181E1.3020701@gnu.org> (Jason Rumney's message of "Tue, 11 Aug 2009 22:36:17 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114082 Archived-At: Jason Rumney writes: > joakim@verona.se 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. Ok, a user expressed interest in having the same system on for instance Debian, so imagemagick wouldnt be a hard dependency of emacs, just an optional one. I agree with the sentiment. -- Joakim Verona