Bug 438681 - LD_PRELOAD Env Vars don't work.
Summary: LD_PRELOAD Env Vars don't work.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 14:44 UTC by Toadfield
Modified: 2021-06-15 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.