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 sNB7A18x/F7pHAAA0tVLHw
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 01 Jul 2020 06:46:55 +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 cB7/Ol4x/F7YdgAAB5/wlQ
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 01 Jul 2020 06:46:54 +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 1FF789409D6
	for <larch@yhetil.org>; Wed,  1 Jul 2020 06:46:54 +0000 (UTC)
Received: from localhost ([::1]:49808 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 1jqWWB-0002DT-FE
	for larch@yhetil.org; Wed, 01 Jul 2020 02:46:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43698)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <efraim@flashner.co.il>)
 id 1jqWVe-0002DD-T3
 for help-guix@gnu.org; Wed, 01 Jul 2020 02:46:19 -0400
Received: from flashner.co.il ([178.62.234.194]:46396)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <efraim@flashner.co.il>) id 1jqWVd-0004VE-4j
 for help-guix@gnu.org; Wed, 01 Jul 2020 02:46:18 -0400
Received: from localhost (unknown [31.210.181.184])
 by flashner.co.il (Postfix) with ESMTPSA id 8306340056;
 Wed,  1 Jul 2020 06:45:44 +0000 (UTC)
Date: Wed, 1 Jul 2020 09:45:11 +0300
From: Efraim Flashner <efraim@flashner.co.il>
To: Anthony Quizon <anthoq88@gmail.com>
Subject: Re: libssl not symlinking from openssl package?
Message-ID: <20200701064511.GE14409@E5400>
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>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="BQPnanjtCNWHyqYD"
Content-Disposition: inline
In-Reply-To: <CAPHgq+KuR516j5=DtvcWQnOFuvPjYN8+0ANAWW2u23Rm_9SnUQ@mail.gmail.com>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Received-SPF: pass client-ip=178.62.234.194;
 envelope-from=efraim@flashner.co.il; helo=flashner.co.il
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/01 02:45:44
X-ACL-Warn: Detected OS   = ???
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
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=none;
	dmarc=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.61
X-TUID: cdJnj63V0Tbp


--BQPnanjtCNWHyqYD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 foun=
d"
> for the libssl and libcrypto links.
> However, all other libraries seem to resolve correctly.
>=20
> 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)
>         ....
>=20
> Do you know what would make libssl and libcrypto different from the other
> links?
>=20
> I'm using a manifest file with these packages:
>=20
> (specifications->manifest
>   '("glib"
>     "gcc-toolchain"
>     "binutils-gold"
>=20
>=20
>=20
>     "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).

>=20
> On Wed, Jul 1, 2020 at 7:49 AM Anthony Quizon <anthoq88@gmail.com> wrote:
>=20
> > 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
> >>
> >

--=20
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 unencrypted

--BQPnanjtCNWHyqYD
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl78MPMACgkQQarn3Mo9
g1G9qhAAn6dbN/b8TtGQIfPcPQWYrCRACZ6JR1Ip4rmp/HYtw1pJsoHcxWzvFoLe
YEQYWCesBA8zsv0rcX5gSeuxSUcyo+qTxSBll2dRqvNPpDE6f9t2N2M9sk6hmpsR
BG5Qq3yc3jyKatzniDKub6kXtveMC3qNV6N3XmZVBcWAAlUyn8VAZljTuMoEL4th
JNDkYt716OW1b5tEQy1sHwNT83V5uxU5kx/0wWkjTU628dedh8aaJRx/Bek5rKsE
ke3I7L8Hoj/znkPcNiFGThBx4LjrMj+0xWOKtvjuQqpOKIuVc5OdoH3uvibYIigD
bLXWAs8Rv/sisa55QBbsDkVxZqZtqRgXAP5fVjL+WiQfcAsnFSont9VtIrVPI/7+
VXA5MsR+PZPwCNAV936ftel8Q5HriBrjqoryVzsRwsyVzlTTvEgDef1uQXWX6I/u
RlrTqJIt4D6kfAvgXzox5rUL6ZztWTfvzXX2luxwQlJJrny8jY/6S2qypZA1MrB+
nbtouG+9txuQw4DrZ9nEEfO1yu5mUdCymL9BASqCMznCTo8kuv4AiiQCKK3jmf9X
31T8jGbPyyzOFBudnDNOq2+j9h1mul/4D2NEULV4NyH9tchHiOgCu2yTAhd6rVj3
eKjpGCjyaY8Me6oqD5DfuultiMYkzJO8HQY3QxAGy88lZizkPcQ=
=lY1j
-----END PGP SIGNATURE-----

--BQPnanjtCNWHyqYD--