Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: glibc emerge error
Date: Fri, 12 Jan 2018 22:14:47
Message-Id: p3bbs8$l6d$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: glibc emerge error by Corbin Bird
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.)

Replies

Subject Author
Re: [gentoo-user] Re: glibc emerge error Corbin Bird <corbinbird@×××××××.net>