From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id YKzYOI0a/F4rBAAA0tVLHw
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 01 Jul 2020 05:09:33 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id CC+tNI0a/F7rAQAA1q6Kng
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 01 Jul 2020 05:09:33 +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 6F8CC9403ED
	for <larch@yhetil.org>; Wed,  1 Jul 2020 05:09:33 +0000 (UTC)
Received: from localhost ([::1]:49728 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 1jqUzy-0005ew-Qe
	for larch@yhetil.org; Wed, 01 Jul 2020 01:09:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56398)
 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 1jqUzn-0005eo-Iu
 for help-guix@gnu.org; Wed, 01 Jul 2020 01:09:19 -0400
Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:36230)
 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 1jqUzl-0007jL-P9
 for help-guix@gnu.org; Wed, 01 Jul 2020 01:09:19 -0400
Received: by mail-lf1-x134.google.com with SMTP id k17so46251lfg.3
 for <help-guix@gnu.org>; Tue, 30 Jun 2020 22:09:16 -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=oYoCzRuakEZJN2fSxoMhqnea1WnnfyovbcBGeXuvlYE=;
 b=TrEbZfjhJ1YtlqucWlvaqHkokeFCyJK2X/8X+HfdGSOzDv3h1ZIuwHeuQNYh0EcFg0
 9g+LP/aHAPwPHTxMQH6/vAz+4L4zaeUId1tzw24rFhhRx9yrF9wfBI5yi/m4swSKj6Hl
 pr/lIAS1ENDQhi1Ae9TVy7sncJwxc1kocqsxAhm0qjN7tln7PI0sCIcPSQvyfFA+m75p
 Rhfz+V/S6T/SZvJCb9vbjboJ+iknzk2IGIH6iCIBDhYqmNS86iGIkKDDT8132UCQqrHv
 I5nLQtnLoS3o6S49nS8YOLYd2Y+yGJAJMve5F3V6w2ed3ai718hi/h1bq0FuYRPiZF/C
 Cz1w==
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=oYoCzRuakEZJN2fSxoMhqnea1WnnfyovbcBGeXuvlYE=;
 b=IQwe7waB+ZZDX0ROCUcfeiTOpdMNJF8s3Nm5m2mhc+v/SmJFa3diVVFdNc/NCRWCZh
 fvmbh8x+E3JEsdSY5OMhuTmuBwE4YCIEkz3Pk9rGyjWqW4phg/Eksbizd4AK1TkWBkOq
 sUQ15vq+6C/wOJrZXReEoOONXvYL+fi0pctziHbxukdCP86eSHlvC2YRbt1Du2G8M0zN
 K2oZKyAb4onq34T7olTrHCW0JeSPRQGK1C1zl73fF5O4TUy3mUOwg0iNHC2+RwF2dClF
 Ji2tAi22Jjqrn7YpeBXjGnsGhbXetOSIYEaPWGQjr4V0kpDJwAWEKQiAtTKi3zz/W/H6
 PWWg==
X-Gm-Message-State: AOAM533b35xUSvEkLmgHIlcT6xBqGOrXGsAKemKhNEbm0T8WCGk4O46a
 COav6oVpstnZUUvZkXAkIzCKqp0X8akJyqgBg54NedAd/+E=
X-Google-Smtp-Source: ABdhPJysXgqMRDkF7J1DwzNE5l/dc51pIQhgfRyjmCLpIPv7vyM9S+st0j84dmtgLF+ZHjZc6Zybx1TsuZQTPFK3hMo=
X-Received: by 2002:a05:6512:60b:: with SMTP id
 b11mr14145871lfe.116.1593580154790; 
 Tue, 30 Jun 2020 22:09:14 -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>
In-Reply-To: <CAPHgq+L+62w0VFJogy6G6Kbj3pJ6PYW+b3GSYfyJjTSG-Oc6pg@mail.gmail.com>
From: Anthony Quizon <anthoq88@gmail.com>
Date: Wed, 1 Jul 2020 15:09:03 +1000
Message-ID: <CAPHgq+KuR516j5=DtvcWQnOFuvPjYN8+0ANAWW2u23Rm_9SnUQ@mail.gmail.com>
Subject: Re: libssl not symlinking from openssl package?
To: Ricardo Wurmus <rekado@elephly.net>
Received-SPF: pass client-ip=2a00:1450:4864:20::134;
 envelope-from=anthoq88@gmail.com; helo=mail-lf1-x134.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=_AUTOLEARN
X-Spam_action: no action
Content-Type: text/plain; charset="UTF-8"
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=TrEbZfjh;
	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: vpxd/AQUJiH8

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 =>
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libresolv.so.2
(0x00007fcaa9e1c000)
        libssl.so.1.1 => not found
        libcrypto.so.1.1 => not found
        libpthread.so.0 =>
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libpthread.so.0
(0x00007fcaa9dfb000)
        libm.so.6 =>
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libm.so.6
(0x00007fcaa9cba000)
        librt.so.1 =>
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/librt.so.1
(0x00007fcaa9cb0000)
        libdl.so.2 =>
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libdl.so.2
(0x00007fcaa9ca9000)
        ....

Do you know what would make libssl and libcrypto different from the other
links?

I'm using a manifest file with these packages:

(specifications->manifest
  '("glib"
    "gcc-toolchain"
    "binutils-gold"



    "coreutils"
    "openssl"
    ))

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 are 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
>>
>