From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 GLCAOW8lDF/0VQAA0tVLHw (envelope-from ) for ; Mon, 13 Jul 2020 09:12:15 +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 +HxVNW8lDF+DGwAAB5/wlQ (envelope-from ) for ; Mon, 13 Jul 2020 09:12:15 +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 C483B9400EF for ; Mon, 13 Jul 2020 09:12:14 +0000 (UTC) Received: from localhost ([::1]:59194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juuVQ-0000E8-4i for larch@yhetil.org; Mon, 13 Jul 2020 05:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juuTc-0006l0-DN for help-guix@gnu.org; Mon, 13 Jul 2020 05:10:20 -0400 Received: from flashner.co.il ([178.62.234.194]:51836) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juuTa-00043K-HG for help-guix@gnu.org; Mon, 13 Jul 2020 05:10:20 -0400 Received: from localhost (unknown [141.226.9.208]) by flashner.co.il (Postfix) with ESMTPSA id 61D6240248; Mon, 13 Jul 2020 09:09:45 +0000 (UTC) Date: Mon, 13 Jul 2020 12:09:12 +0300 From: Efraim Flashner To: Anthony Quizon Subject: Re: libssl not symlinking from openssl package? Message-ID: <20200713090912.GA984@E5400> References: <877dvooeil.fsf@elephly.net> <20200701064511.GE14409@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: 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/13 05:09:45 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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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.69 X-TUID: deXKpTfoFnht --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable And to make sure, you're trying to build something, not link and already built binary? Is there any more information you can give us to help with troubleshooting? On Mon, Jul 13, 2020 at 02:47:33PM +1000, Anthony Quizon wrote: > 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. >=20 > I've just manually set the paths for now as you suggested. >=20 > I'm using guix on top of debian - there might be some sort of clash with > the systems environment. >=20 > Thanks, > Anthony >=20 >=20 > On Wed, Jul 1, 2020 at 4:45 PM Efraim Flashner > wrote: >=20 > > 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.s= o.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 o= ther > > > 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 > > 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 > > > > wrote: > > > > > > > >> > > > >> Anthony Quizon 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 > > > >> > > > > > > > > -- > > Efraim Flashner =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 unencry= pted > > --=20 Efraim Flashner =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 --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8MJLMACgkQQarn3Mo9 g1HoQxAAvjIL7cW+RpvGamoZfCAYXCyifS62cSquqJCPiF+KMQSgH3WMRs6GY5Ec PRdGinGh+fc/Q+sOf+KUL/7sEZajPq9LyFC/Hss7KDIhSdfdX6nt6LkFdEjqVFaG ZNcltdxwa436eeGlZH1a+lyc0WFp8xnWKiqiTrzWjH/OJSXMqCqIrGikSPToGdsp iKLoL7dSVKBBMbw5TzlCRJVlfz7RI7DSIs9UQeeNA4oUAAeimK+7usBvK7Y/+kG2 2hb047WN5fbKPfZFfsi4jSylIVJAN/+4FkE2KxAtOAghyYPKwlWyNgSc9E23NGKa XnYM4MZhXzbshl2HxzVgUpF4cUEmRgFb+DYfKO7xQzpBch5HFQhkrJrPZAI6mg4V Q41MPhf1vxHyLiJ5+ZVO4D37cKqWlCxVDbO2EEQnJE3jDvRP5Qi0n3LLWpBsbW0f 8OWsh9ACO+2wNHEFWAwvdywmOeBu9DNq7ToYnVUPgVYk/JI1pO4WLGPNE4f9OQcw 5z3nY00LZg5Jr100MRpv4zWkLg2vpaHodlRRXCktpJ5+UozTt4YiBtp2c5oxXise GY4P+K6pX33ry1pLrw6sQc0p64LOpRq/ZMYMwuv2VAahg0N1x28J0ujlbkVwzBIj yGp/nttLTg4QypFG6H+PBpPNM+r74h9Qqw/YanQiTM7FvHcDGEM= =yNn0 -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--