From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JSc4s-0000tj-Ej for garchives@archives.gentoo.org; Fri, 22 Feb 2008 17:52:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FAF0E052E; Fri, 22 Feb 2008 17:52:48 +0000 (UTC) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by pigeon.gentoo.org (Postfix) with SMTP id 0CD80E052E for ; Fri, 22 Feb 2008 17:52:47 +0000 (UTC) Received: (qmail 9871 invoked from network); 22 Feb 2008 09:52:47 -0800 Received: by simscan 1.1.0 ppid: 9847, pid: 9848, t: 2.3086s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp2.surewest.net. X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=vTh8bAFzSBkA:10 a=7mOBRU54AAAA:8 a=jDt-9pEAAAAA:8 a=xE-yA4y2Mwvk-uT61QYA:9 a=2FmnQMYybUVFAdtH2-MA:7 a=tmiiMqGRpB-7RAZMrKdaEQTDJyUA:4 a=p0kJo7hkFkYA:10 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 22 Feb 2008 09:52:44 -0800 Received: from [192.168.1.9] (tagalong.mykitchentable.net [192.168.1.9]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 48FBC1649BC for ; Fri, 22 Feb 2008 09:52:39 -0800 (PST) Message-ID: <47BF0BE7.1020803@mykitchentable.net> Date: Fri, 22 Feb 2008 09:52:39 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.9 (X11/20071128) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 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) References: <47BE2A8C.6010107@mykitchentable.net> <20080222040110.GD5076@sympatico.ca> In-Reply-To: <20080222040110.GD5076@sympatico.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 2a1a8f01-f2e3-4565-a645-2e2d6ad89474 X-Archives-Hash: 6a3e36bf79a6b709a6611f0f67966c40 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