On Tue, 2008-02-05 at 15:34 -0500, Matthew Saltzman wrote: > On Tue, 2008-02-05 at 10:34 -0800, Rick Stevens wrote: > > On Tue, 2008-02-05 at 12:25 -0500, Matthew Saltzman wrote: > > > On Tue, 2008-02-05 at 09:46 -0500, Kevin H. Hobbs wrote: > > > > What is unsetting LD_LIBRARY_PATH in my KDE session? > > > > > > The login manager, I believe. > > > > > > Leaving LD_LIBRARY_PATH uncleared is considered a security issue. > > > > > > For lots more information and discussion of workarounds, google > > > LD_LIBRARY_PATH. Don't bother asking to have this "fixed". I already > > > did long ago (when I was a naive newbie 8^)) and the answer was a firm > > > and resounding No. > > > > Uh, huh. That makes sense. > > > > > > > > > > > > > > I build a VTK, ParaView, ITK, and CMake nightly in my home directory, > > > > and I set PATH and LD_LIBRARY_PATH in ~/.bash_profile to point to these > > > > builds. > > > > > > > > This works great when I'm not in KDE but when I open a terminal in KDE I > > > > must source ~/.bash_profile again to reset LD_LIBRARY_PATH. > > > > > > > > PATH and other variables set in /.bash_profile are not unset in KDE. > > > > bash does NOT read ~/.bash_profile unless it's a login shell or invoked > > with the "--login" option. Since the OP is launching the terminal > > window (konsole) from KDE, it's not a login shell so ~/.bash_profile is > > NOT being read. > > > > Note that bash DOES read ~/.bashrc on non-login shells, so the logical > > spot to put mods to LD_LIBRARY_PATH is in there if you must have it. > > This is why the .bashrc that is installed when an account is created > (the one in /etc/skel) reads .bash_profile first. That way, all > settings in .bash_profile are included in login and non-login shells. I beg to differ. /etc/skel/.bashrc does not read in ~/.bash_profile. It will read in /etc/bashrc (if it exists), which in turn reads /etc/profile. There is nowhere in /etc where .bash_profile even referenced. ---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens@xxxxxxxxxxxx - - CDN Systems, Internap, Inc. http://www.internap.com - - - - Grabel's Law: 2 is not equal to 3--not even for large values of 2. - ---------------------------------------------------------------------- -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list