Re: [bug] Python bindings fail to load shared libraries in MacOS El Capitan

Subject: Re: [bug] Python bindings fail to load shared libraries in MacOS El Capitan

Date: Wed, 21 Oct 2015 15:55:48 -0300

To: Robert Künnemann, notmuch@notmuchmail.org

Cc:

From: David Bremner


Robert Künnemann <robert@kunnemann.de> writes:
>
> nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))
>
> in globals.py
>
> nmlib = CDLL("/usr/local/lib/libnotmuch.{0:s}.dylib".format(SOVERSION))

In recent versions of notmuch there's already code there to detect MacOS
and do something different. Are you saying that detection is not
working? Also, it seems like you are coding the absolute path name of
the library. Is that really necessary?

d


Thread: