From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Eduardo Subject: bug#38500: Ruby is built against libruby-static.a Date: Thu, 5 Dec 2019 14:25:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f910250598f4de01" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37491) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ict13-0005gU-MU for bug-guix@gnu.org; Thu, 05 Dec 2019 10:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ict12-0003T6-DC for bug-guix@gnu.org; Thu, 05 Dec 2019 10:26:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ict10-0003SM-SC for bug-guix@gnu.org; Thu, 05 Dec 2019 10:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ict10-0001NG-OM for bug-guix@gnu.org; Thu, 05 Dec 2019 10:26:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47670) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icrE0-0002Mt-M1 for bug-guix@gnu.org; Thu, 05 Dec 2019 08:31:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icrDz-0004jX-HT for bug-guix@gnu.org; Thu, 05 Dec 2019 08:31:20 -0500 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]:39659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icrDz-0004fg-AZ for bug-guix@gnu.org; Thu, 05 Dec 2019 08:31:19 -0500 Received: by mail-il1-x12d.google.com with SMTP id a7so2976499ild.6 for ; Thu, 05 Dec 2019 05:31:18 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38500@debbugs.gnu.org --000000000000f910250598f4de01 Content-Type: text/plain; charset="UTF-8" I'm trying to use Ruby interpeter as a library to link it against my project (metacall: https://github.com/metacall/distributable/blob/65493b393388f5d66d9b466e5d49f9128fee27ea/source/metacall.scm#L117 ). So I tried to download the Ruby package and libruby.so seems not to be present. Running ldd against ruby executable shows that it is linked with libruby-static.a. When I do ldd against Ruby on my Debian system, it is linked dynamically to libruby.so. I would like to have two versions, or at least the dynamic one, that's the common way Ruby should be built, and also the Guixy style. If this isn't handled, I will have to inherit the package and modify the compilation flags in order to compile Ruby with the dynamic library version. Thanks. --000000000000f910250598f4de01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm trying to use Ruby interpeter as a library to lin= k it against my project (metacall: https://github.com/metacall/distributable/blob/65493b393388f5d66d= 9b466e5d49f9128fee27ea/source/metacall.scm#L117 ). So I tried to downlo= ad the Ruby package and libruby.so seems not to be present.

Running ldd against ruby executable shows tha= t it is linked with libruby-static.a. When I do ldd against Ruby on my Debi= an system, it is linked dynamically to libruby.so.

I would like to have two versions, or at least the dyn= amic one, that's the common way Ruby should be built, and also the Guix= y style.

If this isn'= ;t handled, I will have to inherit the package and modify the compilation f= lags in order to compile Ruby with the dynamic library version.

Thanks.
--000000000000f910250598f4de01--