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))

2008-02-22 Thread Drew Tomlinson

Willie Wong wrote:

On Fri, Feb 22, 2008 at 09:52:39AM -0800, Penguin Lover Drew Tomlinson squawked:
  
There are no error messages.  When starting as a user, the splash 
graphic just sits there and the CPU usage is basically 100% for both X 
and oosplash.bin.  When starting as root, the splash graphic starts and 
then a progress bar at the bottom of the splash graphic progresses in 
about 10 seconds and OpenOffice starts.  The progress bar never 
progresses when starting as a user.  I have to kill oosplash.bin with 
signal 15 after starting as a user to return my system to normal.


Some more Googling turned up this post:

http://forums.gentoo.org/viewtopic-t-623771-postdays-0-postorder-asc-start-25.html?sid=1514fa8e48f6a12a86c6c66e920161e9

I found that when I su to root, LD_LIBRARY_PATH is not defined.  As a 
user, it is defined as:


LD_LIBRARY_PATH=/usr/lib32/xorg:/usr/lib64/xorg

If I unset LD_LIBRARY_PATH in a user terminal, then OpenOffice starts.  
So what is LD_LIBRARY_PATH and why am I seeing this behavior?





See

 http://linuxmafia.com/faq/Admin/ld-lib-path.html
 http://wiki.services.openoffice.org/wiki/LD_LIBRARY_PATH

So the question is one of hunting down where this variable is set.
Your .bashrc? Perhaps grepping through /etc/env.d? 
  


Thank you for your reply.  The culprit appears to be 
/etc/profile.d/ati-fglrx.sh.  So if setting LD_LIBRARY_PATH is not a 
good idea, why does the ATI driver do so?  And more importantly, how can 
I workaround this issue?


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

--
gentoo-user@lists.gentoo.org mailing list



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))

2008-02-22 Thread Willie Wong
On Fri, Feb 22, 2008 at 05:34:54PM -0800, Penguin Lover Drew Tomlinson squawked:
 LD_LIBRARY_PATH=/usr/lib32/xorg:/usr/lib64/xorg
 
 If I unset LD_LIBRARY_PATH in a user terminal, then OpenOffice starts.  
 So what is LD_LIBRARY_PATH and why am I seeing this behavior?
 
 
 
 See
 
  http://linuxmafia.com/faq/Admin/ld-lib-path.html
  http://wiki.services.openoffice.org/wiki/LD_LIBRARY_PATH
 
 So the question is one of hunting down where this variable is set.
 Your .bashrc? Perhaps grepping through /etc/env.d? 
   
 
 Thank you for your reply.  The culprit appears to be 
 /etc/profile.d/ati-fglrx.sh.  So if setting LD_LIBRARY_PATH is not a 
 good idea, why does the ATI driver do so?  And more importantly, how can 
 I workaround this issue?
 

As I don't use fglrx, I can't comment on that behaviour. A workaround
is simply to alias oocal in your bashrc to something that unsets the 
problematic path. 

W
-- 
W: You see, me and Willetta have been going on for a few weeks now.
Phil: Only a few weeks, and she's living in your room?
DJP: Will! What's that thing you said earlier about taking things slow!
MW rolling on the ground laughing.
Sortir en Pantoufles: up 442 days,  5:06
-- 
gentoo-user@lists.gentoo.org mailing list