From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id POBvOH/nC1/GBQAA0tVLHw
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 13 Jul 2020 04:47:59 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id GEq1M3/nC194VwAAB5/wlQ
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 13 Jul 2020 04:47:59 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 44EE394051E
	for <larch@yhetil.org>; Mon, 13 Jul 2020 04:47:59 +0000 (UTC)
Received: from localhost ([::1]:37642 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1juqNh-0004Fi-Kx
	for larch@yhetil.org; Mon, 13 Jul 2020 00:47:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59540)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <anthoq88@gmail.com>)
 id 1juqNb-0004FY-1i
 for help-guix@gnu.org; Mon, 13 Jul 2020 00:47:51 -0400
Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:43965)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <anthoq88@gmail.com>)
 id 1juqNZ-0004bl-5h
 for help-guix@gnu.org; Mon, 13 Jul 2020 00:47:50 -0400
Received: by mail-lj1-x230.google.com with SMTP id f5so15052190ljj.10
 for <help-guix@gnu.org>; Sun, 12 Jul 2020 21:47:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=47FUYO/KpphVeHUYuMpCGKGI9iXZ6Pf8fIhanc2DETk=;
 b=veiQ4alU2gQAljXiuE3MNus1GbmKYXhQGu8VrO0AytyuI+vylppsnQvGAAS+Cfdy8P
 lfo68jh8kWUpgzRndwl/lYD06878IbUcWhumT+jB0flU3fZzfvdSZswEzoEd7DZMYiGq
 ySFsKOz0NEdkMS/XQvkqBDgv67wVpWWxv6PH8UX7UPsyXofqrgHz8EAsZ5fa1NTA4zAn
 LOT0qcUbeGJ2Jcioh6jfUvypCX6YSLp2e3/r42mOeJNQovyyyA3r1HTYcBH9k/1/MSj7
 J2MdDq42zt19eQQw2VLOagiNkD/6iSKr+0LmSyCPRge73tcQcjWMdIP9Osiq7eePH9Yz
 ocXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=47FUYO/KpphVeHUYuMpCGKGI9iXZ6Pf8fIhanc2DETk=;
 b=o0T/wb01mWsvl/A68N8QLuO6S8QJIoft/YrFRgWRmH4NsQYKgOTE8UKQVtXxdx42KK
 PkoVYKOLpOLwVgEwQ0FsOVQRQoKmIuiGzfH7SS8Y2Fds5csdjSPZCuKKOAvr6G6jhdZH
 qBR56OHBcKDCw+I/HKHQlzdw5+/I4RUM5HA1ifVhbHXrpEfs/+KhMK5M7rx0uAg+wQr/
 A7ZGpWrLarvCBR4ZimehQCPHBSMhglpADVEb4L5UItRj9WLxvIDijWcQ9t5aHoS74uVt
 k0P/rJ4bFMEF8SHx6inET5zTaOtjcJdO1PBrZpZ1jYQLgxCIYH+kVmn7RP85cOZha26K
 PfLA==
X-Gm-Message-State: AOAM532V/KCFdPiGkVhTkvIw/ZDaFfAxBd54PAoMi9TeL5xO6d7/p9nK
 3oelU3MO/Xsd6DZ0+oXHTFVjLajHBqF2eqFm8ft/I/05
X-Google-Smtp-Source: ABdhPJwnjuQNWw63PF96Dv2lzmTqpPPpN8AENeRgbvmiPLYK+oWs4NEt2bYVDr3v+psCV0RwoQff6dqgyJccVz9Qllw=
X-Received: by 2002:a2e:b4d8:: with SMTP id r24mr22713566ljm.19.1594615666569; 
 Sun, 12 Jul 2020 21:47:46 -0700 (PDT)
MIME-Version: 1.0
References: <CAPHgq+JD8_Z3mQTBQnMx+nc0eD9-XJcavd1e5gTp_WMp988WqA@mail.gmail.com>
 <877dvooeil.fsf@elephly.net>
 <CAPHgq+L+62w0VFJogy6G6Kbj3pJ6PYW+b3GSYfyJjTSG-Oc6pg@mail.gmail.com>
 <CAPHgq+KuR516j5=DtvcWQnOFuvPjYN8+0ANAWW2u23Rm_9SnUQ@mail.gmail.com>
 <20200701064511.GE14409@E5400>
In-Reply-To: <20200701064511.GE14409@E5400>
From: Anthony Quizon <anthoq88@gmail.com>
Date: Mon, 13 Jul 2020 14:47:33 +1000
Message-ID: <CAPHgq+Jfx8bVn2FrfcWhXeKJzu8ookjhNg_oh66eW23rNDqpQQ@mail.gmail.com>
Subject: Re: libssl not symlinking from openssl package?
To: Efraim Flashner <efraim@flashner.co.il>
Received-SPF: pass client-ip=2a00:1450:4864:20::230;
 envelope-from=anthoq88@gmail.com; helo=mail-lj1-x230.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.23
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Cc: help-guix@gnu.org
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+larch=yhetil.org@gnu.org>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=veiQ4alU;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org
X-Spam-Score: 1.09
X-TUID: kS9pXcrGCFB6

Thanks for that - however, it seems to be the same.
I've removed coreutils, binutils-gold and added pkg-config and still are
getting missing links with ldd.

I've just manually set the paths for now as you suggested.

I'm using guix on top of debian - there might be some sort of clash with
the systems environment.

Thanks,
Anthony


On Wed, Jul 1, 2020 at 4:45 PM Efraim Flashner <efraim@flashner.co.il>
wrote:

> On Wed, Jul 01, 2020 at 03:09:03PM +1000, Anthony Quizon wrote:
> > Ok so when I use gcc-toolchain and do a ldd on my binary, I get "not
> found"
> > for the libssl and libcrypto links.
> > However, all other libraries seem to resolve correctly.
> >
> > linux-vdso.so.1 (0x00007ffe86dd2000)
> >         libresolv.so.2 =3D>
> > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libresolv.so=
.2
> > (0x00007fcaa9e1c000)
> >         libssl.so.1.1 =3D> not found
> >         libcrypto.so.1.1 =3D> not found
> >         libpthread.so.0 =3D>
> >
> /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libpthread.so.=
0
> > (0x00007fcaa9dfb000)
> >         libm.so.6 =3D>
> > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libm.so.6
> > (0x00007fcaa9cba000)
> >         librt.so.1 =3D>
> > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/librt.so.1
> > (0x00007fcaa9cb0000)
> >         libdl.so.2 =3D>
> > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libdl.so.2
> > (0x00007fcaa9ca9000)
> >         ....
> >
> > Do you know what would make libssl and libcrypto different from the oth=
er
> > links?
> >
> > I'm using a manifest file with these packages:
> >
> > (specifications->manifest
> >   '("glib"
> >     "gcc-toolchain"
> >     "binutils-gold"
> >
> >
> >
> >     "coreutils"
> >     "openssl"
> >     ))
>
> I would drop coreutils from the manifest, it should be included in
> gcc-toolchain. binutils-gold also unless you need the gold linker. Do
> you have pkg-config in the manifest? The libraries that I see as linked
> are all from glibc. Alternatively you might need to add the linker flags
> yourself, ie: -l$(GUIX_ENVIRONMENT)/lib/libssl (or however it goes,
> assuming you're using 'guix environment' and not a permanent profile).
>
> >
> > On Wed, Jul 1, 2020 at 7:49 AM Anthony Quizon <anthoq88@gmail.com>
> wrote:
> >
> > > Oh sorry, stupid mistake.
> > > That's the environment variable I set to point to
> > > "$HOME/.guix-profile/lib". I was wondering if the openssl lib files
> were
> > > meant to be populated there.
> > > But now I can see that its actually in $LIBRARY_PATH when
> gcc-toolchain is
> > > installed like you said.
> > >
> > >
> > > On Tue, Jun 30, 2020 at 11:43 PM Ricardo Wurmus <rekado@elephly.net>
> > > wrote:
> > >
> > >>
> > >> Anthony Quizon <anthoq88@gmail.com> writes:
> > >>
> > >> > I've run `guix install openssl` but it seems like the libraries ar=
e
> not
> > >> > populated in $GUIX_LIBRARY_PATH
> > >>
> > >> What is GUIX_LIBRARY_PATH supposed to be?
> > >>
> > >> The LIBRARY_PATH variable is set when you have gcc-toolchain
> installed.
> > >> GUIX_LIBRARY_PATH is not set by anything in Guix as far as I know.
> > >>
> > >> --
> > >> Ricardo
> > >>
> > >
>
> --
> Efraim Flashner   <efraim@flashner.co.il>   =D7=90=D7=A4=D7=A8=D7=99=D7=
=9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
> GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypt=
ed
>