From: Ben Walton <bwalton@artsci.utoronto.ca>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] xapian load issues
Date: Sat, 10 Jul 2010 14:28:48 -0400 [thread overview]
Message-ID: <1278786266-sup-5828@pinkfloyd.chass.utoronto.ca> (raw)
In-Reply-To: <B74D42D5-E809-446D-A972-2737C441C454@gmail.com>
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
prev parent reply other threads:[~2010-07-10 18:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 17:55 fedzor
2010-07-10 18:28 ` Ben Walton [this message]
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=1278786266-sup-5828@pinkfloyd.chass.utoronto.ca \
--to=bwalton@artsci.utoronto.ca \
--cc=sup-talk@rubyforge.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