1 |
On 12/01/18 18:31, Corbin Bird wrote: |
2 |
> On 01/11/2018 08:29 AM, Nikos Chantziaras wrote: |
3 |
>> On 11/01/18 15:28, Corbin Bird wrote: |
4 |
>>>> Why are you setting LD_LIBRARY_PATH system-wide to begin with? Don't |
5 |
>>>> do that. |
6 |
>>> |
7 |
>>> Unfortunately, I had to ( and didn't realize the implications. ) |
8 |
>>> In .bashrc : |
9 |
>>>> export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH |
10 |
>>> |
11 |
>>> Required by the Vulkan Loader ( Mesa && Chromium ). |
12 |
>> |
13 |
>> I think this is what the /etc/ld.so.conf.d/ directory is there for. |
14 |
>> Have you tried something like this instead: |
15 |
>> |
16 |
>> echo "$VULKAN_SDK/lib" > /etc/ld.so.conf.d/vulkan-loader.conf |
17 |
>> env-update |
18 |
>> |
19 |
> |
20 |
> Will try this method and see what happens. |
21 |
> |
22 |
> Checked a file already there. In the "05gcc-x86_64-pc-linux-gnu.conf" |
23 |
> there were no $PATH variables. |
24 |
> Put explicit paths in instead. |
25 |
> |
26 |
> This will be interesting. |
27 |
|
28 |
Yes, you do add explicit paths in it. This: |
29 |
|
30 |
echo "$VULKAN_SDK/lib" > /etc/ld.so.conf.d/vulkan-loader.conf |
31 |
|
32 |
will write an explicit path (the variable is expanded by the shell.) |