Why does my $LD_LIBRARY_PATH get unset when using screen with bash?
Fresh3 days ago
Mar 15, 20267581 viewsConfidence Score0%
0%
Problem
This is related to Why does my LD_LIBRARY_PATH get unset launching terminal?, but a different set of symptoms. First, is setuid as per the other question. Second, the default shell on this system is for various historical reasons, and we're not allowed to chsh to , so I typically run bash manually …
Error Output
{~} $ echo $SHELL
/bin/tcsh
{~} $ bash
[~] echo $SHELL
/bin/bash
[~] screen -U
[~]Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Why does my $LD_LIBRARY_PATH get unset when using screen with bash?
Low Risk
Because screen is setuid, it unsets . When your shell is tcsh, tcsh initialisation (from I suppose, since screen doesn't default to creating login shells) sets again. If you want to be set in your bash screen windows, set it from .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix