From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Newsgroups: gmane.lisp.guile.devel Subject: Re: Replace ltdl with GLib's GModule Date: Fri, 27 Mar 2020 13:01:38 +0100 Message-ID: <87o8si57ml.fsf@gnu.org> References: <20200324222429.GA2587085.ref@spikycactus.com> <20200324222429.GA2587085@spikycactus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: guile-devel@gnu.org Cancel-Lock: sha1:4aSUlHoK2RvphsNY75LzUFGFH6U= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Mar 27 13:02:03 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHngZ-000OjV-6X for guile-devel@m.gmane-mx.org; Fri, 27 Mar 2020 13:02:03 +0100 Original-Received: from localhost ([::1]:40938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHngY-0001Wb-5W for guile-devel@m.gmane-mx.org; Fri, 27 Mar 2020 08:02:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56139) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHngM-0001WU-Ut for guile-devel@gnu.org; Fri, 27 Mar 2020 08:01:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHngL-0001G9-Qc for guile-devel@gnu.org; Fri, 27 Mar 2020 08:01:50 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:56142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHngL-00012T-K8 for guile-devel@gnu.org; Fri, 27 Mar 2020 08:01:49 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jHngJ-000ORW-N2 for guile-devel@gnu.org; Fri, 27 Mar 2020 13:01:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20471 Archived-At: Hello! Mike Gran skribis: > In a fit of pique, I pushed a new branch of Guile to the repo > called wip-replace-ltdl-with-gmodule. It replaces the dynamic linking > library libltdl from libtool with the analagous library GModule > from GLib. It was remarkably easy, and, after a cursory test > I was surprised to find that it seems to be working. > > GModule itself is a standalone library, but, I think it depends > on GLib. It might be possible to remove that dependency without > much difficulty, but unfortunately, then you would be left with > another library to maintain. Fun! I’m very much tired of “file not found” :-), but I don’t think Guile should depend on GLib, which is quite big. I think we should either fix ltdl (probably less work than porting Guile to GModule, but also less exciting) or have a very basic wrapper around dlopen instead of using ltdl (I think Andy had made experiments in that direction.) Thanks, Ludo’.