From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: gobject-introspection typelibs and shared libraries Date: Sun, 07 Dec 2014 21:48:00 +0100 Message-ID: <87ppbvkwzj.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxikS-0007YK-J1 for guix-devel@gnu.org; Sun, 07 Dec 2014 15:48:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxikM-00015K-ET for guix-devel@gnu.org; Sun, 07 Dec 2014 15:48:08 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:46559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxikM-000154-88 for guix-devel@gnu.org; Sun, 07 Dec 2014 15:48:02 -0500 In-Reply-To: (Federico Beffa's message of "Sun, 7 Dec 2014 15:21:59 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > currently the typelib files used by gobject-introspection can't find > shared libraries and require setting LD_LIBRARY_PATH. I don=E2=80=99t know much about all this; could you give some context? Wha= t=E2=80=99s a typelib files exactly? > I would like to propose to adopt the attached patch from the nix folk > which should fix that and refer to shared libraries by absolute path. Is the output of gir-scanner(?) used on the linker command line? Normally, our ld-wrapper handles adding a RUNPATH for any library listed as -l on the linker command line. Thanks, Ludo=E2=80=99.