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: dynamic loading of the imagemagic library? Date: Tue, 11 Aug 2009 16:13:20 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250000031 23317 80.91.229.12 (11 Aug 2009 14:13:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 14:13:51 +0000 (UTC) To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 11 16:13:44 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 1Mas6b-0004mH-CM for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 16:13:37 +0200 Original-Received: from localhost ([127.0.0.1]:36973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mas6Z-0001tl-NR for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 10:13:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mas6U-0001tJ-0t for emacs-devel@gnu.org; Tue, 11 Aug 2009 10:13:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mas6P-0001rr-Bs for emacs-devel@gnu.org; Tue, 11 Aug 2009 10:13:29 -0400 Original-Received: from [199.232.76.173] (port=41245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mas6P-0001rf-5X for emacs-devel@gnu.org; Tue, 11 Aug 2009 10:13:25 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:49457 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 1Mas6O-0007dR-Mk for emacs-devel@gnu.org; Tue, 11 Aug 2009 10:13:25 -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 n7BEDK47003893 for ; Tue, 11 Aug 2009 16:13:21 +0200 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:114050 Archived-At: Currently the imagemagick patch uses ordinary linking to the run-time library file. Looking at image.c, w32 seems to check in runtime if other image libraries are present, this is not done for gnu/linux AFAICS. 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. -- Joakim Verona