From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kCm7ISo0FV94EQAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 06:05:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0DqCHSo0FV8vFAAAbx9fmQ (envelope-from ) for ; Mon, 20 Jul 2020 06:05:30 +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 0F0529403EA for ; Mon, 20 Jul 2020 06:05:30 +0000 (UTC) Received: from localhost ([::1]:39654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxOvZ-0005U5-22 for larch@yhetil.org; Mon, 20 Jul 2020 02:05:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxOuw-0005Cg-HH for help-guix@gnu.org; Mon, 20 Jul 2020 02:04:50 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:46614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxOut-0000Hx-Hc for help-guix@gnu.org; Mon, 20 Jul 2020 02:04:50 -0400 Received: by mail-lj1-x236.google.com with SMTP id h19so18844737ljg.13 for ; Sun, 19 Jul 2020 23:04:43 -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=fQoM1UBtJlTXMIIM/OI/4NfwyaQMWD5n4FlgDB7Hz7c=; b=WIzz1z5HmjJJfw7eWAH+1b+Aype543kh3athGzLu5wSKHNDP9IXvar4ojYmUEpiEUB OhZF88HHf82j9e7f4MabbWn+baq6UvtQaDxqmE6ONZHmkegU2p2FfU8JJblB0qqHS1ub thFHqq8Tr+U5LQCY2jQ7N8lpfbvs5t2LzgLePE536uSmQFy5nw+5HzxNFut5TDvy/2rp baz2HRZVYLkNSbp5Imh19VSNCt1+/54PzJBxZ2KrhK/phHY5jt1n6dSlnNaTN6Ym2RZ7 LJ9jQwvyITU3l0J+aeAcW8rEV5dRU57RNUPgUJ4ubS1GPo+T3dLgvrbXp7OXpHqDx2up KOfg== 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=fQoM1UBtJlTXMIIM/OI/4NfwyaQMWD5n4FlgDB7Hz7c=; b=WL1ScM9YJcf8ChZNxDOuAHow7yNm7+CGT//31Gw+XY21gazcVWpDugtgG9I1WL4DBv AwKhtNGB5qAgTlM6JXiVhJ/w8h73O4sVCGKr5OXR8Z4t+aPB2sV3lrRfX/iuO8NAkFAL 68SMqN+cgEYkw1wSMeuB3eQiiUnGC8QL/6jsDcPwCYqB5Vl8EScyal1jZQvUIcfhcor1 n1PIR6atfwOfpZ9C2rXALA1HuBVpB0T4mqjU4ZMXvp4jJEzXN0mljboHzlnvJ7qUAA+B equKWEhaJ7kAgm67N624H3eu+Y+iALbiSMBXRd2upnsWm31WeLSc+odV6KiMEpcpsa24 jWPw== X-Gm-Message-State: AOAM532WlmkZiCXEnR3EKJwTQEkvq9gZ/fNE3Zjxw58CaX0uNWSRfcom Oe2lStQWVPonoe9PsMQB3e49DoFUFpJh214Q378= X-Google-Smtp-Source: ABdhPJwv4upOYLaZlRYqnlhQR0MMOHoUiU2og9Iub/1PrNtx8Wflwyl1X8avaQJAdWSADhCkShEqPGKWssMuRUtqMjk= X-Received: by 2002:a2e:b054:: with SMTP id d20mr9014499ljl.55.1595225081834; Sun, 19 Jul 2020 23:04:41 -0700 (PDT) MIME-Version: 1.0 References: <877dvooeil.fsf@elephly.net> <20200701064511.GE14409@E5400> <20200713090912.GA984@E5400> In-Reply-To: <20200713090912.GA984@E5400> From: Anthony Quizon Date: Mon, 20 Jul 2020 16:04:30 +1000 Message-ID: Subject: Re: libssl not symlinking from openssl package? To: Efraim Flashner Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=anthoq88@gmail.com; helo=mail-lj1-x236.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: 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=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=WIzz1z5H; 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: wLdOpZkhy8ld Hi Efraim, Everything seems to work correctly using gcc. The binary is built with the D language and dub. (I should have mentioned that as well - I'll try to get better at these help requests) I'm currently giving it another go but I'll try to compose a minimal setup and upload it to github if you guys are still interested. On Mon, Jul 13, 2020 at 7:09 PM Efraim Flashner wrote: > 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 ar= e > > 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 wit= h > > the systems environment. > > > > Thanks, > > Anthony > > > > > > On Wed, Jul 1, 2020 at 4:45 PM Efraim Flashner > > 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 "no= t > > > 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 > other > > > > 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 link= ed > > > 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 fil= es > > > 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 writes: > > > > >> > > > > >> > I've run `guix install openssl` but it seems like the librarie= s > 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 kno= w. > > > > >> > > > > >> -- > > > > >> 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 > unencrypted > > > > > -- > 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 unencrypt= ed >