From: Hinko Kocevar <Hinko.Kocevar@esss.se>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: 'libstdc++.so.6' cannot be found in RUNPATH ()
Date: Mon, 25 Jun 2018 19:57:01 +0000 [thread overview]
Message-ID: <d76bf090223142a1956ed1b99c8bb5ec@esss.se> (raw)
In-Reply-To: <87efguheo8.fsf@gmail.com>
Hi Pierre!
thank you for the input. I've made the changes as suggested.
Sadly it does not help, I'm getting the same behavior.
Inside the environment-variables I can see the gcc-5.4.0-lib listed:
export LIBRARY_PATH="/gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/lib:/gnu/store/6hicns85s8ddp0y539wdspwx22ac2kmv-bzip2-1.0.6/lib:/gnu/store/g3nari57wcfnm00kv9bnpyzdzfq4h8pk-xz-5.2.2/lib:/gnu/store/msw2q7nr3vfmgwyxf15y0x7qbngs9y3d-file-5.30/lib:/gnu/store/9pq16kfcldqqcbd58mmfp37g3awhg4sd-gawk-4.1.4/lib:/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/lib:/gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/lib:/gnu/store/y31sxrygd9ifpxra06bmlx8c52gbydd4-glibc-utf8-locales-2.25/lib:/gnu/store/mpa86gcr3wk7yzvbdxc58j5vddqcs3w0-epics-base-3.15.5/lib:/gnu/store/j9rxwf40xw2r5drycijl4l25l4bja8qv-epics-asyn-R4-33/lib:/gnu/store/f0m8rdd0vv0gdddi2grpcb5swxd5zp2f-epics-busy-R1-7/lib:/gnu/store/61fcp65n6jvaz2hyzy31im408h5a79yl-epics-autosave-R5-9/lib:/gnu/store/s55cw29248kzl3c61vgawb4csrbkivry-epics-calc-R3-7/lib:/gnu/store/6dv72pq83gv7y2qxk60rasa2dqjr2nmm-epics-sscan-R2-11/lib:/gnu/store/a35yjr26wizmj7vbxbf2s8x3p6g7hb4m-epics-seq-R2-2-6/lib:/gnu/store/gs898mgcbzi0zx5wikylz0zrb756mg75-epics-adsupport-R1-4/lib:/gnu/store/i4vqyz44pa31iypwbq06zvw52yk2jmlg-epics-adcore-R3-2/lib:/gnu/store/mipizipnr4y2hly9b429j8id1albbgqi-readline-7.0/lib:/gnu/store/2rzp2py00609lvkh977bfyxja7wd5idx-gcc-5.4.0-lib/lib:/gnu/store/09j7scnl3hahcmql986fsjpzj6gqsmzv-ncurses-6.0/lib"
Let me point out that the library depending on libstdc++.so.6 does not get compiled, nor does the package use it in anyway. What I'm getting at is that since libstdc++.so.6 is not actually referenced by the package in any way (though the failing lib), can it be that that gcc-5.4.0-lib gets stripped away somewhere along the way?
Thanks!
Hinko
________________________________________
From: Pierre Neidhardt <ambrevar@gmail.com>
Sent: Monday, June 25, 2018 9:03 PM
To: Hinko Kocevar
Cc: help-guix@gnu.org
Subject: Re: 'libstdc++.so.6' cannot be found in RUNPATH ()
Hi Hinko!
Packaging is done in a sandboxed environment that is totally independent of your
installation.
So you don't need to install gcc at all.
You don't need to propagate the input either, because the end-user only cares
about the package, not the dependent libraries.
Last, you seem to have forgotten the version in the input.
Try with the following line instead:
(inputs
`(("gcc:lib" ,gcc-5 "lib")))
Hope that helps.
--
Pierre Neidhardt
Speak softly and own a big, mean Doberman.
-- Dave Millman
next prev parent reply other threads:[~2018-06-25 19:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 18:45 'libstdc++.so.6' cannot be found in RUNPATH () Hinko Kocevar
2018-06-25 19:03 ` Pierre Neidhardt
2018-06-25 19:57 ` Hinko Kocevar [this message]
2018-06-26 11:43 ` Ludovic Courtès
2018-06-26 12:35 ` Hinko Kocevar
2018-06-27 17:53 ` Timothy Sample
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d76bf090223142a1956ed1b99c8bb5ec@esss.se \
--to=hinko.kocevar@esss.se \
--cc=ambrevar@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.