Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: glibc emerge error
Date: Thu, 11 Jan 2018 17:01:51
Message-Id: 20180111170128.75dhbycmpiej377e@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] Re: glibc emerge error by Corbin Bird
1 On 2018-01-11 07:28, Corbin Bird wrote:
2
3 > > export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
4
5 This is wrong, because it will put the current directory (as represented
6 by the empty string) into the list even if it wasn't there originally.
7
8 Try something like this (untested):
9
10 export LD_LIBRARY_PATH=$VULKAN_SDK/lib${LD_LIBRARY_PATH:+":$LD_LIBRARY_PATH"}
11
12 see man bash, "Parameter expansion".
13
14 --
15 Please don't Cc: me privately on mailing lists and Usenet,
16 if you also post the followup to the list or newsgroup.
17 To reply privately _only_ on Usenet, fetch the TXT record for the domain.