Re: [gedit-list] Building programs using gedit(LD_LIBRARY_PATH lost)



would someone check if this bug needs to be filled with ubuntu, and fc6
both ?

On Tue, 2006-11-07 at 18:48 +0530, Ritesh Khadgaray wrote:
> On Mon, 2006-11-06 at 23:11 +0100, herbert koelman wrote:
> > I'm running Fedora Core 6.
> > 
> > LD_LIBRARY_PATH is set in /etc/profile.d script directory.
> 
> LD_LIBRARY_PATH is stripped in "/etc/X11/xinit/xinitrc-common" courtesy
> of ssh-agent.
> 
> 1. One workaround is to remove ssh-agent from system, by uninstall
> openssh-client
> 
> 2. alternate is to try modifying "/etc/X11/xinit/xinitrc-common" to look
> as below. please note, this works for me , and i have not tested this
> out in public as yet.
> 
> ------------------
> 
> # Prefix launch of session with ssh-agent if available and not already
> running.
> SSH_AGENT=
> if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then
> 
>    ENV=
>    if [ "$TMPDIR" != "" ]; then
>        ENV="TMPDIR=$TMPDIR "
>    fi
> 
>    if [ "$LD_LIBRARY_PATH" != "" ]; then
>        ENV="$ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH "
>    fi
> 
>    if [ "$ENV" != "" ]; then
>        SSH_AGENT="/usr/bin/ssh-agent /bin/env $ENV"
>    elif
>        SSH_AGENT="/usr/bin/ssh-agent"
>    fi
> fi
> 
> DBUS_LAUNCH=
> [ -x /usr/bin/dbus-launch -a -z "$DBUS_SESSION_BUS_ADDRESS" ] &&
> DBUS_LAUNCH="/usr/bin/dbus-launch --exit-with-session"
> 
> ----------------------------------------------------------------------------------------------------------------
> 
> 
> > 
> > I've also used .profile, .bash_profile, /etc/profile and still no success.
> > 
> > Voila
> > 
> > -----Message d'origine-----
> > De : Ritesh Khadgaray [mailto:khadgaray gmail com] 
> > Envoyé : dimanche 5 novembre 2006 20:39
> > À : herbert koelman urbix fr
> > Cc : Paolo Maggi; gedit-list gnome org
> > Objet : Re: [gedit-list] Building programs using gedit(LD_LIBRARY_PATH lost)
> > 
> > On Sun, 2006-11-05 at 18:31 +0100, herbert koelman wrote:
> > > Paolo Maggi wrote: 
> > > > Hi,
> > > >   
> > > > > When gedit is started LD_LIBRARY_PATH is lost.
> > > > >     
> > > > 
> > > > I have not tested it, but AFAIK, gedit does not modify 
> > > > LD_LIBRARY_PATH in any way.
> > > > 
> > > > nud: any idea?
> > 
> > Where is LD_LIBRARY_PATH set ?
> > 
> > Are you using garnome, FC6, ... ?
> > 
> > > > 
> > > >   
> > > > > Hence running make from gedit fails to find necessary shared objects.
> > > > > 
> > > > > Is there a way to handle this ?
> > > > >     
> > > > 
> > > > Ciao,
> > > > Paolo
> > > > 
> > > > 
> > > >   
> > > It does when you start gedit through the Fedora C6 application menu.
> > > If you start gedit from a shell then LD_LIBRARY_PATH is not lost.
> > > 
> > > Ciao
> > > 
> > > :-))
> > > _______________________________________________
> > > gedit-list mailing list
> > > gedit-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gedit-list
> > --
> > Ritesh Khadgaray
> > LinuX N Stuff
> > Ph: +919822394463
> > Eat Right, Exercise, Die Anyway.
> > 
> > 
-- 
Ritesh Khadgaray
LinuX N Stuff
Ph: +919822394463
Eat Right, Exercise, Die Anyway.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]