From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hinko Kocevar Subject: Re: 'libstdc++.so.6' cannot be found in RUNPATH () Date: Mon, 25 Jun 2018 19:57:01 +0000 Message-ID: References: <603614f230c34b95bb3605c455d2f16b@esss.se>, <87efguheo8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXXbq-000185-DH for help-guix@gnu.org; Mon, 25 Jun 2018 15:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXXbl-0004CF-Gi for help-guix@gnu.org; Mon, 25 Jun 2018 15:57:10 -0400 Received: from esb01.esss.lu.se ([194.47.240.53]:31202 helo=halon2.esss.lu.se) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fXXbl-00048y-4J for help-guix@gnu.org; Mon, 25 Jun 2018 15:57:05 -0400 In-Reply-To: <87efguheo8.fsf@gmail.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: "help-guix@gnu.org" 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=3D"/gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.2= 6.0/lib:/gnu/store/6hicns85s8ddp0y539wdspwx22ac2kmv-bzip2-1.0.6/lib:/gnu/st= ore/g3nari57wcfnm00kv9bnpyzdzfq4h8pk-xz-5.2.2/lib:/gnu/store/msw2q7nr3vfmgw= yxf15y0x7qbngs9y3d-file-5.30/lib:/gnu/store/9pq16kfcldqqcbd58mmfp37g3awhg4s= d-gawk-4.1.4/lib:/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/= lib:/gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/lib:/gnu/store/y= 31sxrygd9ifpxra06bmlx8c52gbydd4-glibc-utf8-locales-2.25/lib:/gnu/store/mpa8= 6gcr3wk7yzvbdxc58j5vddqcs3w0-epics-base-3.15.5/lib:/gnu/store/j9rxwf40xw2r5= drycijl4l25l4bja8qv-epics-asyn-R4-33/lib:/gnu/store/f0m8rdd0vv0gdddi2grpcb5= swxd5zp2f-epics-busy-R1-7/lib:/gnu/store/61fcp65n6jvaz2hyzy31im408h5a79yl-e= pics-autosave-R5-9/lib:/gnu/store/s55cw29248kzl3c61vgawb4csrbkivry-epics-ca= lc-R3-7/lib:/gnu/store/6dv72pq83gv7y2qxk60rasa2dqjr2nmm-epics-sscan-R2-11/l= ib:/gnu/store/a35yjr26wizmj7vbxbf2s8x3p6g7hb4m-epics-seq-R2-2-6/lib:/gnu/st= ore/gs898mgcbzi0zx5wikylz0zrb756mg75-epics-adsupport-R1-4/lib:/gnu/store/i4= vqyz44pa31iypwbq06zvw52yk2jmlg-epics-adcore-R3-2/lib:/gnu/store/mipizipnr4y= 2hly9b429j8id1albbgqi-readline-7.0/lib:/gnu/store/2rzp2py00609lvkh977bfyxja= 7wd5idx-gcc-5.4.0-lib/lib:/gnu/store/09j7scnl3hahcmql986fsjpzj6gqsmzv-ncurs= es-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 tha= t 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 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 car= es 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