public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Drew Tomlinson <drew@mykitchentable.net>
To: gentoo-user@lists.gentoo.org
Subject: What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User)
Date: Fri, 22 Feb 2008 09:52:39 -0800	[thread overview]
Message-ID: <47BF0BE7.1020803@mykitchentable.net> (raw)
In-Reply-To: <20080222040110.GD5076@sympatico.ca>

Philip Webb wrote:
> 080221 Drew Tomlinson wrote:
>   
>> I emerged OpenOffice 2.3.1 on my amd64 install running gentoo-2.6.23-r5.
>> I can start OpenOffice as root but not as a regular user.
>>     
>
> How are you starting it ?  Do you enter eg 'oocalc' from a CLI
> or do you click on an icon in a start menu ?  If the latter,
> check that the menu is using the correct command (eg use Kmenuedit).
> If the former, are there any error messages ?
>   

I have started it both ways as a user.  As root, I start from the CLI 
after su to root from my user login.

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?

Thanks,

Drew





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

http://www.alchemistswarehouse.com

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



  reply	other threads:[~2008-02-22 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22  1:51 [gentoo-user] OpenOffice 2.3.1 Won't Start As User Drew Tomlinson
2008-02-22  2:17 ` Mark Knecht
2008-02-22  2:21   ` Drew Tomlinson
2008-02-22  4:01 ` Philip Webb
2008-02-22 17:52   ` Drew Tomlinson [this message]
2008-02-22 21:38     ` What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User) Willie Wong
2008-02-23  1:34       ` 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)) Drew Tomlinson
2008-02-23  6:51         ` Willie Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47BF0BE7.1020803@mykitchentable.net \
    --to=drew@mykitchentable.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox