From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu OTHACEHE Subject: Re: Link to ~/.guix-profile/lib/*.so Date: Sun, 19 Feb 2017 09:29:18 +0100 Message-ID: <87o9xy4m8x.fsf@gmail.com> References: <871suuyen5.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfMs2-0004Iz-Kg for help-guix@gnu.org; Sun, 19 Feb 2017 03:29:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfMry-0002lE-Na for help-guix@gnu.org; Sun, 19 Feb 2017 03:29:26 -0500 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:34324) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfMry-0002kn-GO for help-guix@gnu.org; Sun, 19 Feb 2017 03:29:22 -0500 Received: by mail-wr0-x230.google.com with SMTP id z61so49171661wrc.1 for ; Sun, 19 Feb 2017 00:29:22 -0800 (PST) In-reply-to: <871suuyen5.fsf@163.com> 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: "Huang, Ying" Cc: help-guix 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 Mathieu