[MacPorts] #40005: notmuch @0.16 dylib Error with libmotmuch.3.dylib
#40005: notmuch @0.16 dylib Error with libmotmuch.3.dylib ------------------------+-------------------------------- Reporter: anupamsg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: Dylib | Port: notmuch ------------------------+-------------------------------- Hi, The latest upgrade for notmuch (//@0.16//, SVN revision: 108886) builds correctly, but is **failing on invocation** of the main binary ({{{notmuch}}}) with the following error: {{{ % notmuch --version dyld: Library not loaded: libnotmuch.3.dylib Referenced from: /opt/local/bin/notmuch Reason: image not found }}} Reverting back to prior version (//@0.15.2_0//) works correctly. It is //possible// to make {{{notmuch}}} run with a manual soft-link to the {{{libnotmuch.3.dylib}}} as: {{{ % cd /usr/lib % sudo ln -s /opt/local/lib/libnotmuch.3.0.0.dylib libnotmuch.3.dylib }}} In which case, the program does run. -- Ticket URL: <https://trac.macports.org/ticket/40005> MacPorts <http://www.macports.org/> Ports system for OS X
#40005: notmuch @0.16: libnotmuch.dylib has wrong install_name -------------------------+--------------------- Reporter: anupamsg@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: notmuch | -------------------------+--------------------- Changes (by ryandesign@…): * cc: anupamsg@… (removed) * cc: ryandesign@… (added) * keywords: Dylib => * owner: macports-tickets@… => yeled@… Comment: In other words, the library's install_name is wrong. -- Ticket URL: <https://trac.macports.org/ticket/40005#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40005: notmuch @0.16: libnotmuch.dylib has wrong install_name -------------------------+---------------------- Reporter: anupamsg@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: notmuch | -------------------------+---------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: In r108886 you removed the patchfile patch-lib-Makefile.local.diff which had previously been fixing this problem. The patch should be brought back. I also don't think the file patch-bindings-python-notmuch-globals.py.diff should have been removed in r108886; it looks pretty important too for letting the python bindings find the library. Fix the problem by first reinstating the old patches, and then patching with the attached patch: {{{ svn cp https://svn.macports.org/repository/macports/trunk/dports/mail/notmuch/files /patch-bindings-python-notmuch-globals.py.diff@108885 https://svn.macports.org/repository/macports/trunk/dports/mail/notmuch/files /patch-lib-Makefile.local.diff@108885 $(port dir notmuch)/files patch -p0 -d $(port dir notmuch) < ~/Downloads/notmuch.diff }}} The patch also adjusts the description so that the quotes around "Not much mail" actually show up in the long description, and switches to using smart quotes for good measure. -- Ticket URL: <https://trac.macports.org/ticket/40005#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40005: notmuch @0.16: libnotmuch.dylib has wrong install_name -------------------------+---------------------- Reporter: anupamsg@… | Owner: yeled@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: haspatch Port: notmuch | -------------------------+---------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: In r109885. -- Ticket URL: <https://trac.macports.org/ticket/40005#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts