From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2950138206 for ; Fri, 12 Jan 2018 22:14:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1241AE0930; Fri, 12 Jan 2018 22:14:40 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95260E0905 for ; Fri, 12 Jan 2018 22:14:39 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ea7Yu-0005OZ-4P for gentoo-user@lists.gentoo.org; Fri, 12 Jan 2018 23:12:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: glibc emerge error Date: Sat, 13 Jan 2018 00:14:44 +0200 Message-ID: References: <395ced69-7aa0-35b5-1a1c-cf01baada8af@charter.net> <9cb883e6-10d2-2c88-e9d2-e88fadae61ef@charter.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 In-Reply-To: Content-Language: en-US X-Archives-Salt: c1bf2c14-8ef3-4e7a-85f7-3527d51a5f42 X-Archives-Hash: 705eb5f89210d750cc094ea140da039c On 12/01/18 18:31, Corbin Bird wrote: > On 01/11/2018 08:29 AM, Nikos Chantziaras wrote: >> On 11/01/18 15:28, Corbin Bird wrote: >>>> Why are you setting LD_LIBRARY_PATH system-wide to begin with? Don't >>>> do that. >>> >>> Unfortunately, I had to ( and didn't realize the implications. ) >>> In .bashrc : >>>> export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH >>> >>> Required by the Vulkan Loader ( Mesa && Chromium ). >> >> I think this is what the /etc/ld.so.conf.d/ directory is there for. >> Have you tried something like this instead: >> >>   echo "$VULKAN_SDK/lib" > /etc/ld.so.conf.d/vulkan-loader.conf >>   env-update >> > > Will try this method and see what happens. > > Checked a file already there. In the "05gcc-x86_64-pc-linux-gnu.conf" > there were no $PATH variables. > Put explicit paths in instead. > > This will be interesting. Yes, you do add explicit paths in it. This: echo "$VULKAN_SDK/lib" > /etc/ld.so.conf.d/vulkan-loader.conf will write an explicit path (the variable is expanded by the shell.)