Gentoo Archives: gentoo-user

From: Drew Tomlinson <drew@××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: 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 01:34:19
Message-Id: 47BF783E.8000505@mykitchentable.net
In Reply to: Re: What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User) by Willie Wong
1 Willie Wong wrote:
2 > On Fri, Feb 22, 2008 at 09:52:39AM -0800, Penguin Lover Drew Tomlinson squawked:
3 >
4 >> There are no error messages. When starting as a user, the splash
5 >> graphic just sits there and the CPU usage is basically 100% for both X
6 >> and oosplash.bin. When starting as root, the splash graphic starts and
7 >> then a progress bar at the bottom of the splash graphic progresses in
8 >> about 10 seconds and OpenOffice starts. The progress bar never
9 >> progresses when starting as a user. I have to kill oosplash.bin with
10 >> signal 15 after starting as a user to return my system to normal.
11 >>
12 >> Some more Googling turned up this post:
13 >>
14 >> http://forums.gentoo.org/viewtopic-t-623771-postdays-0-postorder-asc-start-25.html?sid=1514fa8e48f6a12a86c6c66e920161e9
15 >>
16 >> I found that when I su to root, LD_LIBRARY_PATH is not defined. As a
17 >> user, it is defined as:
18 >>
19 >> LD_LIBRARY_PATH=/usr/lib32/xorg:/usr/lib64/xorg
20 >>
21 >> If I unset LD_LIBRARY_PATH in a user terminal, then OpenOffice starts.
22 >> So what is LD_LIBRARY_PATH and why am I seeing this behavior?
23 >>
24 >>
25 >
26 > See
27 >
28 > http://linuxmafia.com/faq/Admin/ld-lib-path.html
29 > http://wiki.services.openoffice.org/wiki/LD_LIBRARY_PATH
30 >
31 > So the question is one of hunting down where this variable is set.
32 > Your .bashrc? Perhaps grepping through /etc/env.d?
33 >
34
35 Thank you for your reply. The culprit appears to be
36 /etc/profile.d/ati-fglrx.sh. So if setting LD_LIBRARY_PATH is not a
37 good idea, why does the ATI driver do so? And more importantly, how can
38 I workaround this issue?
39
40 Thanks,
41
42 Drew
43
44 --
45 Be a Great Magician!
46 Visit The Alchemist's Warehouse
47
48 http://www.alchemistswarehouse.com
49
50 --
51 gentoo-user@l.g.o mailing list

Replies