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 1JSfYm-0008Jq-M0 for garchives@archives.gentoo.org; Fri, 22 Feb 2008 21:36:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FFAFE03E1; Fri, 22 Feb 2008 21:35:59 +0000 (UTC) Received: from Princeton.EDU (postoffice03.Princeton.EDU [128.112.131.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 5F297E03E1 for ; Fri, 22 Feb 2008 21:35:59 +0000 (UTC) Received: from smtpserver2.Princeton.EDU (smtpserver2.Princeton.EDU [128.112.129.148]) by Princeton.EDU (8.13.8/8.13.8) with ESMTP id m1MLZwYA025343 for ; Fri, 22 Feb 2008 16:35:58 -0500 (EST) Received: from sep.dynalias.net (fez.Princeton.EDU [128.112.129.190]) (authenticated bits=0) by smtpserver2.Princeton.EDU (8.12.9/8.12.9) with ESMTP id m1MLZwrU002706 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 22 Feb 2008 16:35:58 -0500 (EST) Received: by sep.dynalias.net (Postfix, from userid 1001) id 7F0D7852DD; Fri, 22 Feb 2008 16:38:30 -0500 (EST) Date: Fri, 22 Feb 2008 16:38:30 -0500 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: What is LD_LIBRARY_PATH? (Was Re: [gentoo-user] OpenOffice 2.3.1 Won't Start As User) Message-ID: <20080222213830.GA22241@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <47BE2A8C.6010107@mykitchentable.net> <20080222040110.GD5076@sympatico.ca> <47BF0BE7.1020803@mykitchentable.net> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47BF0BE7.1020803@mykitchentable.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Archives-Salt: 2097ef31-c1d8-4eb2-9bef-684ebc1deac2 X-Archives-Hash: 66236e1d28a3d6ea13fbfa704fd69086 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? W -- What is the meaning of Life? To search for truth and beauty. To ask questions. To find the answer to this question To rigorously mathematically prove by epislon-delta treatment that this question has no answer. Proof? For all oranges greater than zero, there exists a banana such that for all fruits tastier than the banana, an orange sweeter than a banana implies the orange is yellow. So by the Jedi-Schwartz Inequality, all oranges are not orange. This leads to an obvious contradiction. It's too bad life is a departmental requirement, otherwise I'd P/D/F it. ~Phil Wei Sortir en Pantoufles: up 441 days, 20:06 -- gentoo-user@lists.gentoo.org mailing list