From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Huang\, Ying" Subject: Re: Link to ~/.guix-profile/lib/*.so Date: Sun, 19 Feb 2017 16:49:32 +0800 Message-ID: <87tw7qsgyr.fsf@163.com> References: <871suuyen5.fsf@163.com> <87o9xy4m8x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfNfb-0003ie-98 for help-guix@gnu.org; Sun, 19 Feb 2017 04:20:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfNfW-0008O2-9j for help-guix@gnu.org; Sun, 19 Feb 2017 04:20:39 -0500 Received: from mproxyhzb2.163.com ([123.58.178.202]:39754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfNfV-0008Ly-4K for help-guix@gnu.org; Sun, 19 Feb 2017 04:20:34 -0500 In-Reply-To: <87o9xy4m8x.fsf@gmail.com> (Mathieu OTHACEHE's message of "Sun, 19 Feb 2017 09:29:18 +0100") 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: Mathieu OTHACEHE Cc: help-guix Mathieu OTHACEHE writes: > Hi, > >> Set LD_LIBRARY_PATH=$HOME/.guix-profile/lib could solve this, but it is >> said that is not a good solution. So I think we need a solution to make >> $HOME/.guix-profile/lib the fallback to search dynamic linked library. > > It works for me without any tricks. Make sure you are using > gcc-toolchain and not gcc package. > > You can try the following command : > > guix package -i gcc-toolchain -r gcc binutils glibc Thanks a lot! This does the trick! Best Regards, Huang, Ying