From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.35.68 with SMTP id o4cs168834bkd; Sat, 10 Jul 2010 11:57:01 -0700 (PDT) Received: by 10.224.40.207 with SMTP id l15mr4002708qae.224.1278788220793; Sat, 10 Jul 2010 11:57:00 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id ez40si3218547qcb.130.2010.07.10.11.57.00; Sat, 10 Jul 2010 11:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id CF1F0167831C; Sat, 10 Jul 2010 14:56:59 -0400 (EDT) Received: from www.cquest.utoronto.ca (www.cquest.utoronto.ca [192.82.128.5]) by rubyforge.org (Postfix) with ESMTP id E79A81858366 for ; Sat, 10 Jul 2010 14:28:48 -0400 (EDT) Received: from pinkfloyd.chass.utoronto.ca ([128.100.160.254]:36689 ident=93) by www.cquest.utoronto.ca with esmtp (Exim 4.43) id 1OXenA-0004n0-Hz for sup-talk@rubyforge.org; Sat, 10 Jul 2010 14:28:48 -0400 Received: from bwalton by pinkfloyd.chass.utoronto.ca with local (Exim 4.63) (envelope-from ) id 1OXenA-0003N5-H8 for sup-talk@rubyforge.org; Sat, 10 Jul 2010 14:28:48 -0400 From: Ben Walton To: sup-talk In-reply-to: References: Date: Sat, 10 Jul 2010 14:28:48 -0400 Message-Id: <1278786266-sup-5828@pinkfloyd.chass.utoronto.ca> User-Agent: Sup/git Subject: Re: [sup-talk] xapian load issues X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from fedzor's message of Sat Jul 10 13:55:51 -0400 2010: I'm not a mac person, but... > /Users/ari/.rvm/gems/ruby-1.8.7-p174/gems/xapian-full-1.1.3.4/lib/_xapian.bundle: dlopen(/Users/ari/.rvm/gems/ruby-1.8.7-p174/gems/xapian-full-1.1.3.4/lib/_xapian.bundle, 9): Library not loaded: /usr/local/lib/libxapian-1.1.3.dylib (LoadError) > Referenced from: /Users/ari/.rvm/gems/ruby-1.8.7-p174/gems/xapian-full-1.1.3.4/lib/_xapian.bundle > Reason: image not found - > /Users/ari/.rvm/gems/ruby-1.8.7-p174/gems/xapian-full-1.1.3.4/lib/_xapian.bundle How did you install the non-gem part of xapian? Eg the .dylib files that the .dylib file built by the gem would be linked against...looking at this error, I'd suspect you built it by hand or with some other (macports?) process. Does /usr/local/lib/libxapian-1.1.3.dylib exist? Is it in fact a dynamic shared object (file /usr/local/lib/libxapian...). Excuse the terminology if it's not that used by the mac platform. If libxapian-1.1.3.dylib is not in /usr/local, but in some other location, you could be fighting an RPATH (embedded in another .dylib file) or an environment setting like LD_LIBRARY_PATH, etc. First of all, make sure your environment isn't polluted with LD* variables. Second, determine the correct location of the xapian library. Third, report back and hope there are some other mac people here! :) HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk