Bug 438681

Summary: LD_PRELOAD Env Vars don't work.
Product: [I don't know] kde Reporter: Toadfield <toadfield>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toadfield 2021-06-15 14:44:24 UTC
I asked for help on every forum I know,but no one could help me.
My problem is that no LD_PRELOAD Env Var I tried works.
I use kde so I report it here.
My .bash_profile looks like this:
```
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

export LD_PRELOAD=/usr/lib/libMangoHud.so:/usr/lib32/libMangoHud.so
export MANGOHUD_DLSYM=1
export MANGOHUD=1
export CLUTTER_BACKEND=wayland
export GTK_USE_PORTAL=1
```
Every normal Env Var works but the LD_PRELOAD ones don't work.
I tried it with many other programs.
Do I have to put my env vars elsewhere?
I use arch wayland.
Comment 1 Nate Graham 2021-06-15 21:59:17 UTC
This isn't a KDE problem. We don't have anything to do with this. Talk to the Arch people, I guess.