Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: ATI Drivers Sets LD_LIBRARY_PATH (Was Re: What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User))
Date: Sat, 23 Feb 2008 06:49:26
Message-Id: 20080223065155.GA22030@princeton.edu
In Reply to: ATI Drivers Sets LD_LIBRARY_PATH (Was Re: What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User)) by Drew Tomlinson
1 On Fri, Feb 22, 2008 at 05:34:54PM -0800, Penguin Lover Drew Tomlinson squawked:
2 > >>LD_LIBRARY_PATH=/usr/lib32/xorg:/usr/lib64/xorg
3 > >>
4 > >>If I unset LD_LIBRARY_PATH in a user terminal, then OpenOffice starts.
5 > >>So what is LD_LIBRARY_PATH and why am I seeing this behavior?
6 > >>
7 > >>
8 > >
9 > >See
10 > >
11 > > http://linuxmafia.com/faq/Admin/ld-lib-path.html
12 > > http://wiki.services.openoffice.org/wiki/LD_LIBRARY_PATH
13 > >
14 > >So the question is one of hunting down where this variable is set.
15 > >Your .bashrc? Perhaps grepping through /etc/env.d?
16 > >
17 >
18 > Thank you for your reply. The culprit appears to be
19 > /etc/profile.d/ati-fglrx.sh. So if setting LD_LIBRARY_PATH is not a
20 > good idea, why does the ATI driver do so? And more importantly, how can
21 > I workaround this issue?
22 >
23
24 As I don't use fglrx, I can't comment on that behaviour. A workaround
25 is simply to alias oocal in your bashrc to something that unsets the
26 problematic path.
27
28 W
29 --
30 W: You see, me and Willetta have been going on for a few weeks now.
31 Phil: Only a few weeks, and she's living in your room?
32 DJP: Will! What's that thing you said earlier about taking things slow!
33 M&W rolling on the ground laughing.
34 Sortir en Pantoufles: up 442 days, 5:06
35 --
36 gentoo-user@l.g.o mailing list