Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 14501 invoked from network); 22 Jul 2008 12:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 12:33:48 -0000 Received: (qmail 27304 invoked by uid 500); 22 Jul 2008 12:33:47 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 27030 invoked by uid 500); 22 Jul 2008 12:33:46 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 27019 invoked by uid 99); 22 Jul 2008 12:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 05:33:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [89.16.172.240] (HELO bytesexual.org) (89.16.172.240) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 12:32:53 +0000 Received: from nslater by bytesexual.org with local (Exim 4.69) (envelope-from ) id 1KLH0L-0003Xy-76 for couchdb-user@incubator.apache.org; Tue, 22 Jul 2008 13:30:09 +0100 Date: Tue, 22 Jul 2008 13:30:09 +0100 From: Noah Slater To: couchdb-user@incubator.apache.org Subject: Re: Need to troubleshoot: open_error,-10 Message-ID: <20080722123009.GA13592@bytesexual.org> Mail-Followup-To: couchdb-user@incubator.apache.org References: <48853B55.1000408@comcast.net> <4885CB2D.101@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4885CB2D.101@comcast.net> X-Noah: Awesome User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jul 22, 2008 at 07:57:33AM -0400, Dan Connelly wrote: > Dan Reverri wrote: > > Are you running couchdb as a different user? If so, have you set the > > LD_LIBRARY_PATH for this user correctly? > > What does "correctly" mean? Set up to point to your installed libraries. > The ErrorMessages page (wiki) tells me to run couchdb this way: > > LD_LIBRARY_PATH=/usr/local/lib:/usr/local/js/lib couchd > > THIS NEEDS MORE EXPLANATION IN THE WIKI. CouchDB is a volunteer project. Your contributions are welcome. > In my case, "/usr/local/lib" is useless. What is its intended purpose? To serve as an example. You need to replace the example with the correct library path. > It should not be necessary to pre-set the LD_LIBRARY_PATH for the ICU shared > objects. The couchdb script uses "icu-config" to put those shared objects on > the LD_LIBRARY_PATH dynamically, within the invocation. Such a dynamic set-up > should be just fine for ICU. The LD_LIBRARY_PATH is also needed for the SpiderMonkey libraries. The `icu-config` command has nothing to do with SpiderMonkey. If you want to improve the `couchdb` command, I look forward to your patch. > In my case, OpenSuSE comes with ICU already installed into /lusr/lib, not > /usr/local/lib. What are the shared objects you are expecting in > /usr/local/lib??? Please check that your SpiderMonkey libraries are being picked up. > I guess I need to unravel this to the point where I can use "ldd" to list the > dependencies. You could try using the `strace` tool to see where it's looking for libs. > You would think that such a tool would be part of the package. Patches welcome. Thanks, -- Noah Slater, http://people.apache.org/~nslater/