Comment 1 for bug 366728

Revision history for this message
Zed (scientist47-xyz) wrote : Re: LD_LIBRARY_PATH not loads from .profile

Same problem. Upgraded from 8.10 to 9.04 release. Not wubi installed.

~/.profile:
if [ -d "$HOME/lib" ] ; then
    export LIBRARY_PATH="$HOME/lib"
    export LD_LIBRARY_PATH="$HOME/lib"
fi

when logging in on tty1 LD_LIBRARY_PATH is set. In gnome it is not set.
Perhaps sourcing .profile in /etc/gdm/Xsession destroys it. Its the only place I could find that the varible is set during gdm login.